Does Eclipse Neon support Java 9? - eclipse

Does Eclipse Neon support Java 9? I know Eclipse Oxygen can be used but we have some constraints to not use other Eclipse than Neon.
We are using Maven for Building our J2EE project and Git for source control.
I appreciate if you can back your answer with some links/proofs. Thanks!

Does eclipse Neon support Java 9?
It depends what you mean by "support". If you mean "Is the use of Java 9 officially supported with Neon?" then the answer is no. For example, see this DZone article:
You need an Oxygen-based install of Eclipse – ensure you’re using the
R version and not milestone or integration builds.
Also, from Eclipse's site:
Users who install Eclipse Oxygen 4.7.1a are able to launch with Java 9
and get Java 9 support
But if you mean "Is it possible to get Java 9 running under Neon?" then the answer is yes. Here's a snippet from an article titled Eclipse Java™ 9 Support (BETA) for Neon from a brave soul who did it back in 2015!...
I downloaded the early access version of Java 9 JDK from java.net in
the form of a tar.gz file that I decompressed into a local directory:
/home/apps/jdk1.9.0. I made no other changes to my system.
I downloaded the Eclipse SDK 4.6 (Neon) M2 from the Eclipse Platform
downloads and decompressed it into its own directory. I made a small
change to the eclipse.ini file to make the new configuration run using
the Java 9 runtime...
Of course, that was done with an early access release of Java 9, and I wouldn't automatically assume that Neon will still work with the latest release of Java 9.
~~~~~~~~~
Update:
I just noticed this SO question titled Neon: how to run on jdk9? which may offer further useful information.

Related

Will JDK 8 will integrate with Eclipse? [duplicate]

I want to start using Java 8 with Eclipse but I don't know how to install it - I can't find any tutorials on it. I am using Eclipse Kepler and have added a JRE for JDK 8 to the IDE but it won't let me continue to create the project because of a compliance problem with the JRE versions. How can I use Java 8 with the Eclipse Kepler IDE?
Have a look at this bug report from time to time for progress on Java 8 in Eclipse's JDT.
EDIT: For Kepler you need SR2 (4.3.2) and the Java 8 feature patch. Starting with I20140318-0830 all Luna (4.4) builds contain support for Java 8 "out-of-the-box". The final version of Eclipse Luna (4.4) will be released at the end of June 2014.
Now, after Java 8 is released, there is a feature patch, but only for Kepler SR2 (4.3.2). Installation via
Help > Install New Software... > 'Work with': http://download.eclipse.org/eclipse/updates/4.3-P-builds/
see Tutorial Installing Java 8 on Eclipse Kepler
Early access builds of Eclipse with Java 8 support are available. Installation instruction can be found here.
Wayne Beaton (Director of Open Source Projects at the Eclipse Foundation) just published (February 2014) an article on "Building and Running Java 8 Support" (with Eclipse Luna 4.4Mx).
It includes:
Getting the sources of JDK8
Downloading the latest milestone of the Eclipse SDK (4.4Mx)
Configuring the “vm” option in the eclipse.ini file to use the Java 8 JRE included with the downloaded JDK.
Adding Egit
Clone the BETA_JAVA8 branch of the Git repo JDT Core, JDT UI and JDT Debug repos.
Using the handy “Import all projects” feature to automatically pull all the code into my workspace.
Setting various JRE 1.4, 5 and 6.
Putting the right mapping for those JRE in the execution environment.
For Eclipse Kepler 4.3+, leeor mentions in the comments:
As of Feb 21st, you can install the beta 8 JDT via "install new software..." in Eclipse (I use Kepler) here: JDT/Eclipse Java 8 Support (BETA)
http://build.eclipse.org/eclipse/builds/4P/siteDir/updates/4.3-P-builds
Java8 support for Eclipse Kepler SR2 has been removed from eclipse marketplace. You can access the archive here. Download the zipped repo and install it as a local archive update site.
URL : http://download.eclipse.org/eclipse/updates/4.3-P-builds/
Add it like the screenshot
I am assuming that you have installed Java 8, JRE 8 and configured them (setting class paths etc.).
Follow the steps.
Go to Help->Eclipse market place
In the search box type "java 8 kepler"
The first link that appears is Java 8 support for Kepler SR2
select it and install it.
It will take a few minutes.
You may need to restart Eclipse after completion.
The problem is that the version of Kepler your using might not have the support for Java8. You can either install the Java8 Patch from market place if your using SR2 version
or
You can directly download Eclipse Kepler SR2 from here, which comes with default support for Java8

Glassfish 4(development build) + eclipse juno

I am trying some of the new features which are only available in Glassfish4(development build).
My current eclipse plugin does not allow me to connect to glassfish4 - there's no 4.x version in the list.
Is there any way I can make it work? I would like to deploy/start the app from eclipse.
If you are using an Eclipse that is older than Juno... you cannot work with GlassFish 4.
If you have Juno, you can install a plugin that allows you to register GlassFish 4 server run-times. BE SURE TO READ https://blogs.oracle.com/piotrik/entry/new_version_of_glassfish_eclipse before you attempt to update your current GlassFish plugin. If you do not have a GlassFish plugin installed in Juno, you can probably ignore almost all of the content of that page.
If you have Kepler M6 installed, you can try out the GlassFish server adapter (GFSA) and the GlassFish 4 run-time plugin (GF4RTP). The GFSA is available here: http://download.java.net/glassfish/eclipse/kepler
The latest update of the GFSA for Kepler should play nicely with the Java EE 7 features that got integrated into Kepler's milestone 6 release.
The GF4RTP is available here:
http://download.java.net/glassfish/eclipse/kepler/runtime
NOTE: all the bits available under download.java.net/glassfish/eclipse/* are developer stream bits. They are not 'production quality' and are being made available to get feedback from users willing to give them a try. If you have to do something critical, you may want to wait for bits that will be integrated into the Oracle Enterprise Pack for Eclipse.

How to add JDK 7 in compiler list in eclipse

I have installed the JDK7 on my machine and I want it to add in the list of compiler
I have tried adding JDK 7 in the list of installed JRE but it is still not appearing in the list of compiler compliance level.
Could any one tell me how can I add JDK 7 into new compliance level.
Eclipse uses its own compiler (see What is the difference between javac and the Eclipse compiler?), so you won't find it if you use an old version of Eclipse (as probably your RSA is based on). Java 7 support is available for Eclipse 3.7.1 or higher (at the moment current stable is 4.2).
However, if you want to keep that version of Eclipse, you can create a new Builder using your JDK7 as base. To do this, go to Project and add a new Builder specifying where the javac is and the other options.
Look also at this question: Eclipse 3.5 and Java 7
Looks like you have to use the 3.8 version of eclipse to get Java 7 support. But I noticed that some later versions of 3.7.x might have it too.
See this for features:
http://www.eclipse.org/jdt/ui/r3_8/Java7news/whats-new-java-7.html

Migrate Eclipse 3.3 features/plugins to Eclipse Juno 4.2

I'm using an old version of Eclipse (Eclipse Platform 3.3) which uses a product comprising a large number of features and plugins. The product vendor is no longer in business so I'm looking at the viability of migrating the features/plugins to run on Eclipse Juno 4.2. The JAR files in the plugins were compiled on Java 5 and will be running in a Java 7 environment (no source code). Has anyone had any experience of doing such a thing, is it possible and is there any reference material? I really can't think of any more detail to add to this question, so I'm going to go with this.
Thanks.
Do you have an update site for the features? If so, did you tried to install the feature/plugins on a fresh eclipse 4.2?
If you can identify the files in plugins and features folder of the product you try to use with 4.2, did you tried to copy them on the plugins/features folder of a clean 4.2?
Eclipse 4 application platform provides a compatibility layer for 3.x plugins, so it may just work.
http://xseignard.github.com/demoCamp2012/prez/#22
You can also find some literature about migrating 3.x plugins to 4.X there : http://www.vogella.com/blog/2012/11/13/getting-your-eclipse-plug-ins-ready-for-eclipse-4/
Regards

How can I upgrade from Eclipse Java SE version to Eclipse for Java EE via Eclipse?

I downloaded Eclipse plain Java version and now I realize that I need of Eclipse IDE for Java EE Developers distribution.
I'm new in Eclipse world and I would to know if it is possible (and how) to install Java EE plugins via Eclipse.
There is a thread in ServerFault that shows how to install the Java EE pluggins for Eclipse Java EE plugin for Eclipse IDE
Additionally you can:
Help -> Install new software.
Pick the Mars (or the version you have downloaded such as Luna, Kepler, etc) repository
At the bottom there are install options Java EE Development
To get all of the features of the Java EE edition of Eclipse, there are several packages that need to be installed. This page lists all of the packages that are included in the current Java EE version of Eclipse. If you want all of the features of the Eclipse for Java EE developers, go to Help --> Install New Software..., select the update site for your version (e.g. Kepler) from the dropdown menu, and select the checkbox for each item listed on the above page that is not already installed.
You'll probably find the 'getting started guides' here helpful.
You probably will need to download the plug-in. The easiest way to do this would be to:
go to Help -> Install new software.
Pick the Galileo(Change accordingly) repository
All the way at the bottom there are install options for 'Web, XML, and JaveEE Development
... also this is better suited for SO
follow this
Eclipse 3.3 or earlier, it is NOT possible to upgrade the Eclipse platform itself, only its features. So, you could for example upgrade the CVS feature or the PDE feature from 3.2.0 to 3.2.1, but not eclipse.exe itself.
and
Upgrading other features (like CDT, PDT, WTP...) can be done without the need to download a new platform binary, but because many projects align very closely (eg., the Eclipse 3.2 / Callisto or Eclipse 3.3 / Europa release trains) you will likely need to upgrade the Eclipse platform as well.