I'm learning
Java from the "Head First Java" book. I'm trying to run MyFirstApp which is basically a Hello World type of application. I run Windows XP and I'm jusing Java 5.0. I am able to compile, but when I try to run I get an error:
c:\learn\java>javac MyFirstApp.java
c:\learn\java>java MyFirstApp.class
Exception in
thread "main" java.lang.NoClassDefFoundError: MyFirstApp/class
I've read about setting the CLASSPATH variable, but I have tried that as well and I still can't get it to work. Any help here would be greatly appreciated.