Java
I downloaded and installed Java SE SDK 1.4.2 from sun.java.com and installed it, everything was running fine but now I can't seem to be able to run any of my classes. They work fine for me when I run them on computers in my University.
import javabook.*;
class PiTest
{
public static void main(String args[])
{
MainWindow myMainWindow = new MainWindow("Testing");
myMainWindow.show(true);
}
}
Compiling works fine but running this simple program gets the error:
Exception in thread "main" java.lang.NoClassDefFoundError: PiTest
I have no idea why this is happening can anyone help me?
|