Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » using separate jdk compilers
using separate jdk compilers [message #58812] Thu, 28 April 2005 09:55 Go to next message
teknokrat is currently offline teknokratFriend
Messages: 73
Registered: July 2009
Member
How can I have different projects use different jdk versions? Currently,
when I change the jdk eclipse recompiles my whole workspace. But what i
want is some projects to use jdk1.4 and others jdk1.5

thanks
Re: using separate jdk compilers [message #58888 is a reply to message #58812] Thu, 28 April 2005 11:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hcs33.egon.gyaloglo.hu

Hi,

There is a 'global' default jdk/jre setting under Preferences. By default
all java projects will use that one. But - if you want to change it for a
project - you can do it:
1. Project properties > Java build path > Libraries.
2. Select 'JRE system library' and 'Edit...'.
3. In the dialog you can select an alternative JDK/JRE from the installed
ones.

Also, in the 'Project properties' you can set different compiler options
than the default one (comes from Preferences) if necessary.

HTH,
Regards,
Csaba

teknokrat wrote:
> How can I have different projects use different jdk versions? Currently,
> when I change the jdk eclipse recompiles my whole workspace. But what i
> want is some projects to use jdk1.4 and others jdk1.5
>
> thanks
Re: using separate jdk compilers [message #58938 is a reply to message #58888] Thu, 28 April 2005 13:09 Go to previous message
teknokrat is currently offline teknokratFriend
Messages: 73
Registered: July 2009
Member
Horváth, Csaba wrote:
> Hi,
>
> There is a 'global' default jdk/jre setting under Preferences. By default
> all java projects will use that one. But - if you want to change it for a
> project - you can do it:
> 1. Project properties > Java build path > Libraries.
> 2. Select 'JRE system library' and 'Edit...'.
> 3. In the dialog you can select an alternative JDK/JRE from the installed
> ones.
>
> Also, in the 'Project properties' you can set different compiler options
> than the default one (comes from Preferences) if necessary.
>
> HTH,
> Regards,
> Csaba
>
> teknokrat wrote:
>
>>How can I have different projects use different jdk versions? Currently,
>>when I change the jdk eclipse recompiles my whole workspace. But what i
>>want is some projects to use jdk1.4 and others jdk1.5
>>
>>thanks
>
>
>
thanks
Previous Topic:Which newsgroup?
Next Topic:change workspace
Goto Forum:
  


Current Time: Sun Oct 06 14:15:11 GMT 2024

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

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

Back to the top