Re: Eclipse not launching Java6 program
- From: "Stefan Z Camilleri" <szc001@xxxxxxxxxx>
- Date: Fri, 26 Jan 2007 21:37:29 +0100
On Fri, 26 Jan 2007 17:41:22 +0100, <max.amato@xxxxxxxxx> wrote:
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
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 :/
--
- Stefan Z Camilleri
- www.szc001.com
.
- References:
- Eclipse not launching Java6 program
- From: max . amato
- Eclipse not launching Java6 program
- Prev by Date: Please help with Visual Editor
- Next by Date: Any tool to convert Java source to a completely navigation-enabled HTML code browser - Java Cross Referencing and Documentation Tool?
- Previous by thread: Eclipse not launching Java6 program
- Next by thread: Please help with Visual Editor
- Index(es):
Relevant Pages
|
|