Hi all I am trying ot use Netbeans 6.9.1 to write a basic "hello world" java script,
but it keeps giving me the following error;
**********************************************************************
debug:
Have no file for C:\Program Files\Java\jdk1.6.0_23\jre\lib\modules\jdk.boot.jar
java.lang.NoClassDefFoundError: helloworld/Main
Caused by: java.lang.ClassNotFoundException: helloworld.Main
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: helloworld.Main. Program will exit.
Exception in thread "main" Java Result: 1
BUILD SUCCESSFUL (total time: 2 seconds)
****************************************************************************
I have attached the Java File for your review.
Any assistance in figuring out why I am getting this message will be greatly apprecaited.
I know its just something simple.
THanks
COY