> I installed eclipse (3.1) and got it running on my system (Solaris 10).
> But if I want to compile my Java program (just a hello world program),
> I get the eror "Exception in thread "main"
> java.lang.NoClassDefFoundError: main/java"
> in the "Console" window.
This indicates that you're trying to run a class called "main.java".
That is quite unlikely. It's more likely that you want to run a class
called "main", and that it is defined in a FILE called "main.java". I
bet you typed the wrong thing into the "Main class:" field when setting
up a run configuration.
You could avoid this by choosing "Run As -> Java Application" from the
Run menu while the correct class is selected rather than creating a Run
configuration by hand... or by using the search button to find your main
class when you create the run configuration.

Signature
www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
Daniel.Wetzler@sig.biz - 27 May 2006 13:59 GMT
Hi Chris,
Thank you very much for your answer.
this was indeed te solution of my problem.
Best regards,
Daniel