Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » How to use compiler provided with JDK 1.4.1_02 in Eclipse
How to use compiler provided with JDK 1.4.1_02 in Eclipse [message #48756] Wed, 12 March 2003 14:09 Go to next message
Eclipse UserFriend
Originally posted by: ppatel.lukensgroup.com

I would like to use the compiler bundled with sun's JDK 1.4.1_02 to
compile my application in Eclipse. I think, Eclipse comes with its own
incremental compiler. I have following questions about it.

1) What's the difference between the Eclipse compiler and Sun's compiler?
2) I am kind of confused over compiler compliance level. There are two
compiler compliance level (1.3 & 1.4) in Eclipse. So if i use compliance
level 1.3, does it mean that Eclipse is using java 1.3 compiler (that
bundled with Eclipse) to comiple the application? And if i use compliance
level 1.4, does it mean that Eclipse is using java 1.4 compiler (that
bundled with Eclipse) to comiple the application?
3) If i would like to use Sun's Java compiler or IBM's Java compiler in
Eclipse, how could i do that?

Any type of help would be appreciated.


Thanks
Prashant Patel
Re: How to use compiler provided with JDK 1.4.1_02 in Eclipse [message #48847 is a reply to message #48756] Wed, 12 March 2003 20:35 Go to previous message
Eclipse UserFriend
Originally posted by: mccull1NOSPAMPLEASE.us.ibm.com

For future reference, eclipse.tools is the place for this...

<SNIP>
> 1) What's the difference between the Eclipse compiler and Sun's compiler?

It is written in Java. It is incremental. It is integrated into the IDE.
It has more features. Etc.

> 2) I am kind of confused over compiler compliance level. There are two
> compiler compliance level (1.3 & 1.4) in Eclipse. So if i use compliance
> level 1.3, does it mean that Eclipse is using java 1.3 compiler (that
> bundled with Eclipse) to comiple the application? And if i use compliance
> level 1.4, does it mean that Eclipse is using java 1.4 compiler (that
> bundled with Eclipse) to comiple the application?

The compliance level indicates "equivalence". 1.3.x compliance is "as if
you compiled with JDK 1.3.X" and 1.4 compliance is "as if you compiled with
JDK 1.4.x". So 1.4.X compliance means Eclipse .class files will run on a
JDK 1.4 JVM.

> 3) If i would like to use Sun's Java compiler or IBM's Java compiler in
> Eclipse, how could i do that?

Only way is to use ANT.

-Andrew
Re: How to use compiler provided with JDK 1.4.1_02 in Eclipse [message #591544 is a reply to message #48756] Wed, 12 March 2003 20:35 Go to previous message
Andrew McCullough is currently offline Andrew McCulloughFriend
Messages: 26
Registered: July 2009
Junior Member
For future reference, eclipse.tools is the place for this...

<SNIP>
> 1) What's the difference between the Eclipse compiler and Sun's compiler?

It is written in Java. It is incremental. It is integrated into the IDE.
It has more features. Etc.

> 2) I am kind of confused over compiler compliance level. There are two
> compiler compliance level (1.3 & 1.4) in Eclipse. So if i use compliance
> level 1.3, does it mean that Eclipse is using java 1.3 compiler (that
> bundled with Eclipse) to comiple the application? And if i use compliance
> level 1.4, does it mean that Eclipse is using java 1.4 compiler (that
> bundled with Eclipse) to comiple the application?

The compliance level indicates "equivalence". 1.3.x compliance is "as if
you compiled with JDK 1.3.X" and 1.4 compliance is "as if you compiled with
JDK 1.4.x". So 1.4.X compliance means Eclipse .class files will run on a
JDK 1.4 JVM.

> 3) If i would like to use Sun's Java compiler or IBM's Java compiler in
> Eclipse, how could i do that?

Only way is to use ANT.

-Andrew
Previous Topic:compiler compliance level
Next Topic:Classloader conflicts with JAXP in plugin using Xalan
Goto Forum:
  


Current Time: Sat Jul 27 18:40:07 GMT 2024

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

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

Back to the top