A
Asad Khan
Hi,
I am using DrJava, and I am writing a program that has the following
statement:
import javax.swing;
It gives me this error when compiled:
File: C:\Program Files\DrJava\CustomJFrame.java [line: 1]
Error: package javax does not exist
I did set my classpath variable to:
c:\j2sdk1.4.2\lib\tools.jar;C:\j2sdk1.4.2_01\src\javax
where C:\j2sdk1.4.2_01\src\javax is where javax is located.
What am I doing wrong?
I am using DrJava, and I am writing a program that has the following
statement:
import javax.swing;
It gives me this error when compiled:
File: C:\Program Files\DrJava\CustomJFrame.java [line: 1]
Error: package javax does not exist
I did set my classpath variable to:
c:\j2sdk1.4.2\lib\tools.jar;C:\j2sdk1.4.2_01\src\javax
where C:\j2sdk1.4.2_01\src\javax is where javax is located.
What am I doing wrong?