Eclipse Oxygen.1 with ANT and JRE6
Long awaited, now it's here
The support for ANT and JRE6 with Eclipse Oxygen.1 (September 2017).
This is a follow-up post for: Eclipse NEON with ANT and JRE6
The plugin was created for:
Version: Oxygen.1 Release (4.7.1)
Build id: 20170914-1200
Build id: 20170914-1200
Don't forget the -clean start (read the original article for more details)!
Download the plugin from here. It works for us - no warranty!
For more details about the installation, read this article.
Thanks a lot for providing this Plugin. You guys are saviors.
Unfortunately the plugin didn't worked for me even after multiple -clean restart of eclipse oxygen 1
It gives error from "Java Virtual Machine Launcher" -> "Could not find the main class: org.eclipse.ant.internal.launching.remote.InternalAntRunner. Program will exit."
Do you have the same version?
Build id: 20170914-1200
Yes, I downloaded Eclipse Java EE
version=4.7.1
artifact classifier='org.eclipse.update.feature' id='org.eclipse.epp.package.jee.feature' version='4.7.1.20170914-1200'
Did you use the zip version of Eclipse or the installer? Some users reported problems with installer...
The "plugin" works for some hundred users and in my environment!
First, apologizes for lots of comments.
Yes, I did use the ZIP version "eclipse-jee-oxygen-1-win32-x86_64.zip".
Apart from eclipse, I did installed view plugins from market place like genuitec's WebEclipse for Angular 5, Eclipse Class Decompiler and RTC.
After completing installations of these plugins and clean restart, I replaced the ANT jars provided by you to eclipse plugins folder. Then I perform clean restart again after replacing 4 ANT jars. But when select the project build.xml and run with JDK1.6 configurations, it gives above error.
Above is the summary of steps I performed.
Hm...
Which version do you see in Help/About?
Here is the text copied from Help >> About >> Pressing Eclipse Icon.
Version: Oxygen.1 Release (4.7.1)
Build id: 20170914-1200
(c) Copyright Eclipse contributors and others 2000, 2017.
I will test next week.
Please test with a new installation (without any other plugins), if possible?
Hi rjahn,
Thanks for replies on the discussion. I really appreciate your help and guidance. Thanks again for providing the plugin(s).
I did tried clean Eclipse install without any plugins and just copied/replaced ANT plugins provided here.
Still I am getting the same error when running ANT build.xml with JDK 6.
I also tried different oxygen.1 packages like EE, normal Java package but with no luck.
What I observed is that when I set
to 1.6, then I am getting the error but if I set to 1.8, with same Jars provided by you, works fine.
So, with your JARs, able to run ANT with JDK 1.8 set, but not when set JDK 1.6 on my system.
Also would like to inform you that my system as been formatted just last week and have installed JDK 6 and JDK 8 64 bit.
Are you planning to provide JARs for Oxygen.3 RC3 ?? Just curious.
No, not for a RC....
I plan an update for Oxygen.2 in the next days.
The problem with:
Could not find the main class: org.eclipse.ant.internal.launching.remote.InternalAntRunner. Program will exit.
is strange, but it's related to the bundled ANT (plugin).
If you download ANT and set a new ANT Home, it will work with JRE 6 without problems...
Preferences >> ANT >> Runtime --> Ant Home...
Simply download ANT from https://ant.apache.org/bindownload.cgi, unzip and use the directory as new ANT Home...
Clear: The bundled ANT is version 1.10
So, use 1.9.x and everything will be fine
Oxygen.2 plugin is available:
https://blog.sibvisions.com/2018/03/15/eclipse-oxygen-2-with-ant-and-jre6/
Will you be publishing a release compatible with Oxygen.3a Release (4.7.3a)?
The current version is working with 4.7.3a (see https://blog.sibvisions.com/2018/03/15/eclipse-oxygen-2-with-ant-and-jre6/).
(read comments)