Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Java 6.0
Java 6.0 [message #185717] Wed, 27 December 2006 01:22 Go to next message
Eclipse UserFriend
Originally posted by: william.rouse.ws

Now that java 6.0 is released, are there any adjustments or additions that
need to be made to Eclipse?
WBR
Re: Java 6.0 [message #185725 is a reply to message #185717] Wed, 27 December 2006 02:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wayne.beaton._NOSPAM_eclipse.org

William Bradley Rouse wrote:
> Now that java 6.0 is released, are there any adjustments or additions
> that need to be made to Eclipse?
> WBR
>

Nope. Eclipse 3.2 supports Java 6.0. You have to either set the
workspace preferences Java > Compiler to Java 6.0 (to set the workspace
default) or you can set the same preference on individual projects.

It all runs well on Java 6.0. I've been running it for months.

HTH,

Wayne
Re: Java 6.0 [message #185816 is a reply to message #185725] Wed, 27 December 2006 22:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wharley.bea.com

"Wayne Beaton" <wayne.beaton@_NOSPAM_eclipse.org> wrote in message
news:4591DCB7.5060901@_NOSPAM_eclipse.org...
> William Bradley Rouse wrote:
>> Now that java 6.0 is released, are there any adjustments or additions
>> that need to be made to Eclipse?
>> WBR
>>
>
> Nope. Eclipse 3.2 supports Java 6.0. You have to either set the workspace
> preferences Java > Compiler to Java 6.0 (to set the workspace default) or
> you can set the same preference on individual projects.
>
> It all runs well on Java 6.0. I've been running it for months.


Slight amendment: Eclipse 3.2 supports the Java 6 language, but not all the
features of Java 6. For instance, Java 6 (JSR-269) annotation processors
will not run on Eclipse 3.2.

Eclipse 3.3 will add the missing pieces.
Re: Java 6.0 [message #185824 is a reply to message #185816] Thu, 28 December 2006 00:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: william.rouse.ws

Wayne:
Thanks! I got it to work with just a little sputter.

Walter:
What is "Java 6 (JSR-269) annotation processors"?
Thanks to all;
WBR
Re: Java 6.0 annotation processing [message #185985 is a reply to message #185824] Fri, 29 December 2006 00:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wharley.bea.com

"William Bradley Rouse" <william@rouse.ws> wrote in message
news:cae73f4aa3faa78f36f881e4df424bf9$1@www.eclipse.org...
> Wayne:
> Thanks! I got it to work with just a little sputter.
>
> Walter:
> What is "Java 6 (JSR-269) annotation processors"?

In Java 5, Sun introduced the concept of "annotation processing" - a way for
third-party code to run at compile time and be able to inspect annotations
on the source code and generate additional Java classes that would then get
compiled along with the original source code. Among other things, it's a
way of formalizing things like EJB generation that had been done with tools
based on javadoc. There are many advantages, such as type-safety (to
javadock, everything is a string).

However, in Java 5, the interface that these "annotation processors" had to
talk to was a Sun proprietary interface, com.sun.mirror.apt.*. In Java 6,
the interface has been standardized (it's in javax.annotation.processing and
javax.lang.model), .

Eclipse 3.2 supported Sun-style Java 5 annotation processors: that is, it is
possible to write annotation processors and it is possible to add them to
the Java build. Eclipse 3.3 will support the new Java 6 standard, along
with the old non-standard interface.

You can read a bit more about them, if you choose to, at
http://www.eclipse.org/jdt/apt/introToAPT.html. Note that still does not
mention Java 6.
Re: Java 6.0 annotation processing [message #186109 is a reply to message #185985] Sat, 30 December 2006 08:47 Go to previous message
Eclipse UserFriend
Originally posted by: william.rouse.ws

Thank you Walter.
WBR
Previous Topic:Update Manager - not finding "new features"
Next Topic:adobe livecycle
Goto Forum:
  


Current Time: Thu Apr 25 19:26:53 GMT 2024

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

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

Back to the top