|
Re: using different version of java in Eclipse [message #214381 is a reply to message #214373] |
Thu, 07 June 2007 14:43 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Bill,
Yes. Have a look at the properties view you get when you get from the
popup menu for a project. If you are developing plugins, you should set
this in the MANIFEST.MF.
Wm.Stafford wrote:
> I am supporting an old java application that needs to be maintained
> with Java1.4. For new development I want to start using Java6. Is it
> possible to set the Java version on a per project basis in Eclipse?
>
> Thanks,
> -=bill
>
|
|
|
Re: using different version of java in Eclipse [message #214389 is a reply to message #214381] |
Thu, 07 June 2007 14:53 |
Eclipse User |
|
|
|
Originally posted by: beeky.bellatlantic.net
Wow! Thanks for the almost instantaneous reply. Unfortunatly I don't
quite understand what you are advising me to do. On the project
properties page the "java build path"->libraries tab would allow setting a
jre per project so that is half of the battle. How do I set the Java
compiler version per project? Or putting this another way, how do I tell
Eclipse to use Java6 to compile this project?
Thanks again for the quick response,
-=bill
|
|
|
Re: using different version of java in Eclipse [message #214396 is a reply to message #214389] |
Thu, 07 June 2007 15:17 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Bill,
If you look at the Java Compiler settings you'll see you can "Enable
project specific settings" and then set the "Compiler compliance level"
to 6.0. I think you can control the JRE that the compiler will use to
compile against from the "Build Path" settings.
W wrote:
> Wow! Thanks for the almost instantaneous reply. Unfortunatly I don't
> quite understand what you are advising me to do. On the project
> properties page the "java build path"->libraries tab would allow
> setting a jre per project so that is half of the battle. How do I set
> the Java compiler version per project? Or putting this another way,
> how do I tell Eclipse to use Java6 to compile this project?
>
> Thanks again for the quick response,
> -=bill
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.08005 seconds