Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to use different JRE in different project?
How to use different JRE in different project? [message #250352] Tue, 08 June 2004 03:18 Go to next message
Eclipse UserFriend
I want to use different JRE in different project in the same workspace, how
can I do?
I'm using the 3M8. In the workspace preferences it says "the checked JRE
will be used by default to build and run Java programs".
Re: How to use different JRE in different project? [message #250380 is a reply to message #250352] Tue, 08 June 2004 05:17 Go to previous messageGo to next message
Eclipse UserFriend
select the properties of the project itself
there you can overwrite pretty much everything.

johan

ooo wrote:
> I want to use different JRE in different project in the same workspace, how
> can I do?
> I'm using the 3M8. In the workspace preferences it says "the checked JRE
> will be used by default to build and run Java programs".
>
>
Re: How to use different JRE in different project? [message #250426 is a reply to message #250380] Tue, 08 June 2004 07:53 Go to previous messageGo to next message
Eclipse UserFriend
Thanks. But I cann't find where to set that property in the project
properties page.
"Johan Compagner" <jcompagner@j-com.nl> wrote in message
news:ca3vob$f7c$1@eclipse.org...
> select the properties of the project itself
> there you can overwrite pretty much everything.
>
> johan
>
> ooo wrote:
> > I want to use different JRE in different project in the same workspace,
how
> > can I do?
> > I'm using the 3M8. In the workspace preferences it says "the checked JRE
> > will be used by default to build and run Java programs".
> >
> >
Re: How to use different JRE in different project? [message #250452 is a reply to message #250426] Tue, 08 June 2004 09:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: smesh.openrules.com

ooo wrote:
>>>I want to use different JRE in different project in the same workspace,

Items of interest (3.0 RC1 as an example):
- "Window/Properties/Installed JRE"
- "Window/Properties/Compiler/Compliance and Classfiles"

- "Project/Properties/Java Build Path/Libraries/Add Library/JRE System
Library/Alternate JRE"

--
Sam Mesh - http://openrules.com
Re: How to use different JRE in different project? [message #250724 is a reply to message #250452] Tue, 08 June 2004 20:36 Go to previous messageGo to next message
Eclipse UserFriend
Hi.
In fact I'm trying the JDK 1.5.0 beta, and it seems not compiling with the
1.5.0 even I set "installed jre" to 1.5.0.
For the "enhanced for loop" it just reports syntax errors.
I'm using M8, in the "Window/Properties/Compiler/Compliance and
Classfiles/Compiler compliance level" there is only 1.3/1.4, is that the
problem?
Re: How to use different JRE in different project? [message #250948 is a reply to message #250724] Wed, 09 June 2004 10:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.rizzoweb.com

ooo wrote:

> Hi.
> In fact I'm trying the JDK 1.5.0 beta, and it seems not compiling with the
> 1.5.0 even I set "installed jre" to 1.5.0.
> For the "enhanced for loop" it just reports syntax errors.
> I'm using M8, in the "Window/Properties/Compiler/Compliance and
> Classfiles/Compiler compliance level" there is only 1.3/1.4, is that the
> problem?

As my 8-year-old nephew would say: "Duh!" ;-)
The new JDK 1.5 syntax elements (like the "enhanced" for loop) are
unknown to Eclipse's parser and compiler (Eclipse does not use javac to
compile, and it is doing lots of internal parsing of code to provide the
rich features it has).
That said, there is a project named Cheetah that is gradually
introducing JDK 1.5 support into Eclipse. Try searching for it at
www.eclipse.org.

HTH,
Eric
Re: How to use different JRE in different project? [message #251316 is a reply to message #250948] Thu, 10 June 2004 00:46 Go to previous message
Eclipse UserFriend
Ok. thank you point out.
"Eric Rizzo" <eclipse@rizzoweb.com> wrote in message
news:ca75th$crc$1@eclipse.org...
> ooo wrote:
>
> > Hi.
> > In fact I'm trying the JDK 1.5.0 beta, and it seems not compiling with
the
> > 1.5.0 even I set "installed jre" to 1.5.0.
> > For the "enhanced for loop" it just reports syntax errors.
> > I'm using M8, in the "Window/Properties/Compiler/Compliance and
> > Classfiles/Compiler compliance level" there is only 1.3/1.4, is that the
> > problem?
>
> As my 8-year-old nephew would say: "Duh!" ;-)
> The new JDK 1.5 syntax elements (like the "enhanced" for loop) are
> unknown to Eclipse's parser and compiler (Eclipse does not use javac to
> compile, and it is doing lots of internal parsing of code to provide the
> rich features it has).
> That said, there is a project named Cheetah that is gradually
> introducing JDK 1.5 support into Eclipse. Try searching for it at
> www.eclipse.org.
>
> HTH,
> Eric
Previous Topic:run PDE unittest from ant script.
Next Topic:navigator selection
Goto Forum:
  


Current Time: Wed May 14 23:27:01 EDT 2025

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

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

Back to the top