Hello,
I've installed both 3.2 and 3.3M4 on 2 different pc and i can't make
eclipse to run a simple class that prints "Ciao" on the screen
I changed the JRE to point to JDK 1.6 and source compatibilty to both
5.0 and 6.0.
I am able to compile the class, and if i execute the class manually
from command line it works, but if i try to launch it using the run
function within eclipse it does not work and says
java.lang.NoClassDefFoundError: Java6
Anyone has any idea why? i never had problems with eclipse and i really
can't understand what i am doing wrong
Stefan Z Camilleri - 26 Jan 2007 20:37 GMT
> Hello,
>
[quoted text clipped - 11 lines]
> Anyone has any idea why? i never had problems with eclipse and i really
> can't understand what i am doing wrong
Hi Max
I am not very familiar with eclipse, since I specifically use IntelliJ
Idea, yet generally a NoClassDefFoundError simply means that the project
you are compiling does not know what it's startup class should be. Look
for somewhere in eclipse where you can define the main class containing
your static entry point.
I hope I've been of help, maybe there is somebody around here who uses
eclipse that might be more helpful :/

Signature
- Stefan Z Camilleri
- www.szc001.com