You are not logged in.
Pages: 1
I just installed eclipse with openjdk6.
When I try to run something, even the most basic hello world thing, I get this:
Exception in thread "main" java.lang.NoClassDefFoundError:
Caused by: java.lang.ClassNotFoundException:
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
Could not find the main class: . Program will exit.
I need to work on eclipse for my school and this is really driving me mad. does someone has a solution?
Offline
i think u should post your code to.
Offline
No class found exception. What are you trying to do? Paste your code.
Offline
Are you sure your program is correct logically, mathematically, and in syntax? Try running your files in terminal so eclipse isn't a factor. I'm sorry I can't help any more than that. I use Netbeans from the community res with the official JDK.
Offline
This seems like invalid "run" configuration. You have most propably specified that your main class is named ".".
Offline
Pages: 1