Home » Eclipse Projects » Eclipse Platform » 1.4.2 compiler options?
1.4.2 compiler options? [message #85770] |
Mon, 30 June 2003 14:33  |
Eclipse User |
|
|
|
Originally posted by: kduffey.marketron.com
Hey all,
I have installed 1.4.2, but also have 1.4.1_03 installed as well. The thing
is, our product needs to run on 1.4.1 JRE's for now, until we get approval
to run 1.4.2 JRE in production. However, I still need to compile/run 1.4.2
to initially test it, yet still produce 1.4.1 output for production/qa
builds. So, since Eclipse only shows an option for 1.4 compliance, how do i
know which compiler is being used? Am I correct in assume if I compile with
1.4.2, it wont run on a 1.4.1 JRE, thus I need to use 1.4.1 compiler to run
in that JRE? Is there some way to allow Eclipse to use 1.3.x, 1.4.1, and
1.4.2 interchangeably as necessary on a per compile or per project basis?
Thanks.
|
|
|
Re: 1.4.2 compiler options? [message #85888 is a reply to message #85770] |
Mon, 30 June 2003 17:02   |
Eclipse User |
|
|
|
Originally posted by: buttler.cc.gatech.edu
Hi Kevin,
As I understand Eclipse, it has an internal compiler. This means that,
unless you are invoking an external Ant compilation task, you are
compiling with the internal compiler for both 1.4.1 and 1.4.2 JVMs.
Furthermore, I believe that 1.4.2 is supposed to be just a bug fix for
the 1.4 JVM stream. So any code compiled for 1.4 should work fine on
both, whichever compiler you use (unless you run into one of the bugs
that has been fixed/added).
Dave
Kevin wrote:
> Hey all,
>
> I have installed 1.4.2, but also have 1.4.1_03 installed as well. The thing
> is, our product needs to run on 1.4.1 JRE's for now, until we get approval
> to run 1.4.2 JRE in production. However, I still need to compile/run 1.4.2
> to initially test it, yet still produce 1.4.1 output for production/qa
> builds. So, since Eclipse only shows an option for 1.4 compliance, how do i
> know which compiler is being used? Am I correct in assume if I compile with
> 1.4.2, it wont run on a 1.4.1 JRE, thus I need to use 1.4.1 compiler to run
> in that JRE? Is there some way to allow Eclipse to use 1.3.x, 1.4.1, and
> 1.4.2 interchangeably as necessary on a per compile or per project basis?
>
> Thanks.
>
>
|
|
|
Re: 1.4.2 compiler options? [message #85948 is a reply to message #85770] |
Mon, 30 June 2003 17:22   |
Eclipse User |
|
|
|
Originally posted by: wegener.cboenospam.com
Kevin wrote:
> Hey all,
> I have installed 1.4.2, but also have 1.4.1_03 installed as well. The thing
> is, our product needs to run on 1.4.1 JRE's for now, until we get approval
> to run 1.4.2 JRE in production. However, I still need to compile/run 1.4.2
> to initially test it, yet still produce 1.4.1 output for production/qa
> builds. So, since Eclipse only shows an option for 1.4 compliance, how do i
> know which compiler is being used? Am I correct in assume if I compile with
> 1.4.2, it wont run on a 1.4.1 JRE, thus I need to use 1.4.1 compiler to run
> in that JRE? Is there some way to allow Eclipse to use 1.3.x, 1.4.1, and
> 1.4.2 interchangeably as necessary on a per compile or per project basis?
> Thanks.
In general, there is'nt a difference between a 1.4.1 and a 1.4.2 compiler.
The difference is in the runtime classes that you compile against. What
you probably want to do is define both the 1.4.1 and the 1.4.1 as JRE's in
Eclipse. You can then switch between which one is the default. Switching
will cause a rebuild of the project to take place.
If you want to have some projects compile against 1.4.1 and some against
1.4.2, you can change the runtime library assigned to each project on the
Java Build Path tabs.
|
|
|
Re: 1.4.2 compiler options? [message #86264 is a reply to message #85770] |
Tue, 01 July 2003 05:27  |
Eclipse User |
|
|
|
Kevin <kduffey@marketron.com> wrote:
> I have installed 1.4.2, but also have 1.4.1_03 installed as well. The thing
> is, our product needs to run on 1.4.1 JRE's for now, until we get approval
> to run 1.4.2 JRE in production. However, I still need to compile/run 1.4.2
> to initially test it, yet still produce 1.4.1 output for production/qa
> builds. So, since Eclipse only shows an option for 1.4 compliance, how do i
> know which compiler is being used? Am I correct in assume if I compile with
> 1.4.2, it wont run on a 1.4.1 JRE, thus I need to use 1.4.1 compiler to run
> in that JRE? Is there some way to allow Eclipse to use 1.3.x, 1.4.1, and
> 1.4.2 interchangeably as necessary on a per compile or per project basis?
Eclipse won't be using *any* of those SDKs for compiling - it uses its
own compiler. Which compiler you use is an independent decision from
which JRE to run with though. What are you *actually* trying to do?
--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too
|
|
|
Goto Forum:
Current Time: Wed Jul 16 00:59:13 EDT 2025
Powered by FUDForum. Page generated in 0.02883 seconds
|