This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcj Questions


I recently installed gcc-3.2 on my home system, and i have a problem with gcj.

Whenever i try to compile i get errors like the following:

mainWindow.java:28: Class or interface 'javax.swing.SwingConstants' not found in import.
import javax.swing.SwingConstants;

mainWindow.java:30: Superclass 'JFrame' of class 'mainWindow' not found.
public class mainWindow extends JFrame implements ActionListener, ChangeListener, WindowListener

I know i need to set up CLASSPATH, but i am not sure what to set it to. If this helps, i configured gcc with the following line:

configure --prefix=/usr --enable-threads

Any help would be appreciated,
Josh Schlicker

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]