Hey, I haven't played with JAVA in about three years. I'm using text pad.
I load up my .java file, compile it, and run it, and it comes back with the error:
Exception in thread "main" java.lang.NoClassDefFoundError: helloworld
Press any key to continue . . .
I know it's something I've completely overlooked, and theres a real easy fix to it, just for the life of me I can't remember how to get it to include that class file.
Setting the Classpath
How Classes are Found
Basic Tools - javac
Basic Tools - java
Problem often occurs when reinstalling Java,
easy to fix: right-click on my computer, Properties,
select the Advanced Tab, then press the Environment Variables button below and a window pops up.
At the bottom all you have to do is delete CLASSPATH and QTJava variables in the list.