This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

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

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.

20 Responses to “Eclipse Oxygen.1 with ANT and JRE6”

  1. Thanks a lot for providing this Plugin. You guys are saviors.

  2. 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."

  3. rjahn says:

    Do you have the same version?

    Version: Oxygen.1 Release (4.7.1)
    Build id: 20170914-1200
  4. Yes, I downloaded Eclipse Java EE

    version=4.7.1

  5. artifact classifier='org.eclipse.update.feature' id='org.eclipse.epp.package.jee.feature' version='4.7.1.20170914-1200'

  6. rjahn says:

    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!

  7. 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.

  8. rjahn says:

    Hm...
    Which version do you see in Help/About?

  9. Here is the text copied from Help >> About >> Pressing Eclipse Icon.

    Eclipse Java EE IDE for Web Developers.

    Version: Oxygen.1 Release (4.7.1)
    Build id: 20170914-1200

    (c) Copyright Eclipse contributors and others 2000, 2017.

  10. rjahn says:

    I will test next week.

  11. rjahn says:

    Please test with a new installation (without any other plugins), if possible?

  12. 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

    Preferences >> Java >> Compiler >> JDK Compliance level

    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.

  13. Anil Jayal says:

    Are you planning to provide JARs for Oxygen.3 RC3 ?? Just curious.

  14. rjahn says:

    No, not for a RC....
    I plan an update for Oxygen.2 in the next days.

  15. rjahn says:

    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...

  16. rjahn says:

    Clear: The bundled ANT is version 1.10

    The Apache Ant team currently maintains two lines of development. The 1.9.x releases require Java5 at runtime and 1.10.x requires Java8 at runtime. Both lines are based off of Ant 1.9.7 and the 1.9.x releases are mostly bug fix releases while additional new features are developed for 1.10.x. We recommend using 1.10.x unless you are required to use versions of Java prior to Java8 during the build process.

    So, use 1.9.x and everything will be fine :)

  17. Jesse says:

    Will you be publishing a release compatible with Oxygen.3a Release (4.7.3a)?

  18. rjahn says:

    (read comments)

Leave a Reply

Spam protection by WP Captcha-Free