Ok everyone - I believe that I am having Path issues with my compiler. I have compiled and run code many times. In this case it is the basic helloworldapp in the tutorial. I do not know what to make of this error. I have checked and rechecked my Path and think I am ok. For whatever reason my code still does not compile...
C:\Java>javac HelloWorldApp.java
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/tools/javac/M
ain
Caused by: java.lang.ClassNotFoundException: com.sun.tools.javac.Main
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: com.sun.tools.javac.Main. Program will exit.
Is there a place where you can research java errors?
Any help is great!
Thanks.
ch103