JAVA:(jwstric2) Problems in JAVA-LINUX
jwstric2 here is the code,
for simplicity i have made a simple program.
import javax.swing.*;
public class newhello extends Jframe
{
public static void main(String []arg)
{
newhello t= new newhello();
t.setVisible(true);
}
}
2 errors are
--Can't find default package 'javax.swing'. Check the CLASSPATH environment variable and the access to archives.
--Super class 'Jframe' of class 'newhello' not found.
kindly solve this problem this same program is executing fine on WINDOWS
|