Skip to main content



      Home
Home » Newcomers » Newcomers » changing the compiler to JDK 5...
changing the compiler to JDK 5... [message #157456] Mon, 19 June 2006 11:06 Go to next message
Eclipse UserFriend
Hi
I need to change the compiler to JDK5 but when i change the"compiler
compliance level" to 1-5 ,it doesn't run even a simple "Hello World"
program and says : "could not find the main class.program will exit"
but when i change it again to 1-4 there's no such error!

do u know what is the problem?

thanks...
Re: changing the compiler to JDK 5... [message #157504 is a reply to message #157456] Mon, 19 June 2006 12:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jefmyers.us.ibm.com

You're sure you're also targeting a 1.5 JRE in the Java -> Installed
Runtimes preference page?

- Jeff
Re: changing the compiler to JDK 5... [message #157537 is a reply to message #157504] Mon, 19 June 2006 14:16 Go to previous message
Eclipse UserFriend
ummm....I don't think so!
would you please explain what I should do?

when I compile my program with textpad there's no problem and I can use
new features in JDK 1-5 but I don't know why I can't do so in eclipse...

thanks again...
Neda
Previous Topic:.asp plugin for Eclipse?
Next Topic:Licensing and Copy Protection
Goto Forum:
  


Current Time: Thu May 01 23:50:38 EDT 2025

Powered by FUDForum. Page generated in 0.09071 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top