Original Post
So I downloaded and installed java SDK, and now I am trying to make a program run but having some problems. I set the Path environment variable to, and got my program to compile in the comand prompt using javac. But when I try to run it I get the error: Exception in thread "main" java.lang.noClassDefFoundError: ShellApplication And I looked into it and it seems I need to set my CLASSPATH variable. So I changed it from C:\Program Files\Java\jre1.5.0_04\lib\ext\QTJava.zip to D:\Program Files\Java\lib\ext\QTJava.zip and I still got the same error. So I am wondering what I should be setting it to to make my program run. All the java files are in D:\Program Files\Java and my source file and class file is in D:\Work any ideas?