Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » JDK of Eclipse building
JDK of Eclipse building [message #91788] Fri, 11 July 2003 10:59 Go to next message
Eclipse UserFriend
Hi,

Can anybody tell me, if eclipse is
buildung with JDK 1.3.1 or with JDK 1.4?

Thanks a lot.

Best Regards,

Thomas
Re: JDK of Eclipse building [message #91834 is a reply to message #91788] Fri, 11 July 2003 11:50 Go to previous messageGo to next message
Eclipse UserFriend
Thomas you can configure the Eclipse compiler to compile against either 1.3
or 1.4.
This can be done a global and on a per project basis.
See the Installed JREs preference page for global setting and to set locally
for a project see the project Properties>Java Build Path>Libraries

Please check out the Eclipse help under Compile, Java Builder, build
classpath etc.
HTH
Darins

"Thomas H
Re: JDK of Eclipse building [message #92460 is a reply to message #91834] Sat, 12 July 2003 03:27 Go to previous messageGo to next message
Eclipse UserFriend
Darin Swanson <Darin_Swanson@us.ibm.com> wrote:
> Thomas you can configure the Eclipse compiler to compile against either 1.3
> or 1.4.

Just to clarify - it doesn't really build "against" either 1.3 or 1.4,
ie it doesn't use the 1.3 or 1.4 compiler. It still uses the internal
compiler either way, but compiles to be *compatible* with 1.3 or 1.4
(ie some of the compiler bugs are reproduced, assertions are in 1.4,
etc).

--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too
Re: JDK of Eclipse building [message #92490 is a reply to message #92460] Sat, 12 July 2003 07:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: purplehayz.earthlink.net

Really? I just spent some quality time playing with the launching plugin,
and it looks like that's used for building (based upon the design as I
understand it - since I was working with system properties and, on MacOS X,
they differ between 1.3 and 1.4, I know the launcher launches the desired
version). The information required to use a JRE is the whole directory
she-bang for a JRE, so I'd be really surprised if its not run in a separate
thread by Eclipse....

It would be hard to make a 1.4 compatible build using a 1.3 compiler, since
1.4 didn't necessarily exist "back then."

Can someone working on the compiler interface answer this question?

Thanks and have fun! - Bob

On 7/12/03 2:27 AM, in article MPG.1979c8d5828f4b809897ff@news.eclipse.org,
"Jon Skeet" <skeet@pobox.com> wrote:

> Darin Swanson <Darin_Swanson@us.ibm.com> wrote:
>> Thomas you can configure the Eclipse compiler to compile against either 1.3
>> or 1.4.
>
> Just to clarify - it doesn't really build "against" either 1.3 or 1.4,
> ie it doesn't use the 1.3 or 1.4 compiler. It still uses the internal
> compiler either way, but compiles to be *compatible* with 1.3 or 1.4
> (ie some of the compiler bugs are reproduced, assertions are in 1.4,
> etc).

--
Bob Hays, Computer Geek
http://www.alephnaught.com

"Once you've outsourced something to some big IT company, you can write it
off as a source of competitive advantage."
-- Gary Hamel
Re: JDK of Eclipse building [message #92646 is a reply to message #92460] Sat, 12 July 2003 18:52 Go to previous messageGo to next message
Eclipse UserFriend
By "against" I meant that the internal compiler uses the 1.3 or the 1.4
class libraries.

The compatibility/compliance is set under the preferences. See
Window>Preferences>Java>Compiler>Compliance and Classfiles

HTH
Darins

"Jon Skeet" <skeet@pobox.com> wrote in message
news:MPG.1979c8d5828f4b809897ff@news.eclipse.org...
> Darin Swanson <Darin_Swanson@us.ibm.com> wrote:
> > Thomas you can configure the Eclipse compiler to compile against either
1.3
> > or 1.4.
>
> Just to clarify - it doesn't really build "against" either 1.3 or 1.4,
> ie it doesn't use the 1.3 or 1.4 compiler. It still uses the internal
> compiler either way, but compiles to be *compatible* with 1.3 or 1.4
> (ie some of the compiler bugs are reproduced, assertions are in 1.4,
> etc).
>
> --
> Jon Skeet - <skeet@pobox.com>
> http://www.pobox.com/~skeet/
> If replying to the group, please do not mail me too
Re: JDK of Eclipse building [message #92703 is a reply to message #92646] Sun, 13 July 2003 04:08 Go to previous messageGo to next message
Eclipse UserFriend
Darin Swanson <Darin_Swanson@us.ibm.com> wrote:
> By "against" I meant that the internal compiler uses the 1.3 or the 1.4
> class libraries.

Ah right - yes indeed. Hopefully between us we've now answered the OP's
question :)

--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too
Re: JDK of Eclipse building [message #92718 is a reply to message #92490] Sun, 13 July 2003 04:11 Go to previous messageGo to next message
Eclipse UserFriend
Bob Hays, Computer Geek <purplehayz@earthlink.net> wrote:
> Really? I just spent some quality time playing with the launching plugin,
> and it looks like that's used for building (based upon the design as I
> understand it - since I was working with system properties and, on MacOS X,
> they differ between 1.3 and 1.4, I know the launcher launches the desired
> version).

Oh Eclipse itself will certainly run in whatever JRE you tell it to,
and will also launch your application for run/debug in whatever JRE you
tell it to (separate decision). That doesn't mean it uses the JDK's
compiler, which I believe is what the OP was asking.

> The information required to use a JRE is the whole directory
> she-bang for a JRE, so I'd be really surprised if its not run in a separate
> thread by Eclipse....

The compiler uses the JRE's library to compile against, but it doesn't
use a JDK's compiler - so you could actually use Eclipse without having
a JDK installed, as far as I know.

--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too
Re: JDK of Eclipse building [message #94554 is a reply to message #91834] Wed, 16 July 2003 02:53 Go to previous messageGo to next message
Eclipse UserFriend
Darin Swanson wrote:

> Thomas you can configure the Eclipse compiler to compile against either 1.3
> or 1.4.
> This can be done a global and on a per project basis.
> See the Installed JREs preference page for global setting and to set locally
> for a project see the project Properties>Java Build Path>Libraries

> Please check out the Eclipse help under Compile, Java Builder, build
> classpath etc.
> HTH
> Darins

Hi,

I didn't mean with which compiler I can compile my projects.
My question is:
With which compiler the "Eclipse classes", that are downloadable from your
server, are builded?
Or with other words: Which compiler (JDK) do you use for your nightly
build?

Best Regards,

Thomas
Re: JDK of Eclipse building [message #94859 is a reply to message #94554] Wed, 16 July 2003 10:18 Go to previous message
Eclipse UserFriend
Originally posted by: olivier_thomann.ca.ibm.comNOSPAM

Le Wed, 16 Jul 2003 06:53:39 +0000 (UTC), th.huebner@sap.com (Thomas
Hübner) a écrit :
>Or with other words: Which compiler (JDK) do you use for your nightly
>build?
We don't use javac. We use the Eclipse compiler inside an ant javac
task.
--
Olivier
Previous Topic:How to listen for Editor Maximize/Restore
Next Topic:Renaming of a resource
Goto Forum:
  


Current Time: Tue Nov 04 09:50:29 EST 2025

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

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

Back to the top