Different Java developer and program versions? - eclipse

I've installed JDK7 java version and selected version 7 as the JVM in Eclipse. The version of compiler remains being 1.6 and it doesn't shows a greater version.
Is it correct?
Thanks

Current version of Eclipse (3.7) does not support compiling Java 7 sources yet. The support is coming in 3.7.1 update soon. You can run your application with Java 7 JRE, but there is no support for compilation at the moment.

Related

Does Eclipse Neon support Java 9?

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.

what version of the Eclipse RCP we need to upgrade to along with Java 8

what version of the Eclipse RCP we need to upgrade to along with Java 8?
Eclipse Luna (4.4) is the first to fully support Java 8. This is the current version available from the Eclipse site

Is install4j jdk 8 compatible?

I'd like to know if install4j is jdk 8 compatible or tested against or will be :)
Just found 1.7 Version to be tested on there site.
And if not what is the roadmap for next release supporting that?
Thx
Inge
Install4j installers work with Java 8. The install4j currently (as of 5.1.6) requires Java 6 or Java 7.
From their blog Migrating to install4j 6:
The minimum Java version for the install4j IDE and the compiler is now Java 7. If your build machine only has Java 6 installed, you have to install a Java 7 JRE. On Windows and Mac OS X, Java 7 JREs are bundled in the install4j downloads.
Therefore, I suppose install4j IDE version 6 supports also Java 8, because they did not specify maximal Java version.

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

Eclipse and JDK 7

I wish to find out does anyone have problem compiling JDK 7 code with Eclipse? Because currently I only able use JRE 7 in Eclipse to test run but as for trying to use JDK 7 features into my code, it will state it will not support.
Eclipse 3.8 M1 (Juno) is the earliest stable version to have support for Java 7. Java 7 support will also be available in the upcoming 3.7.1 release.
Unfortunately, since Java 7 released after Eclipse 3.7 (Indigo) release, the Java 7 support could not make it to 3.7.