Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Ant not running with JDK 1.5
Ant not running with JDK 1.5 [message #1402116] Wed, 16 July 2014 14:48
Hy Phan is currently offline Hy PhanFriend
Messages: 1
Registered: July 2014
Junior Member
(Hope this is the most suitable forum for this..)

Using Luna (JEE build for Linux 64bit on Kubuntu 14.04) I cannot run ant-scripts with a JDK 1.5 (needed because we are calling an old Weblogic JSP compiler from within).

Any execution of an ant script (even a simple hello-world like below) does NOT run, that means immediately terminate without any feedback (also nothing in the workspace .metadata logs).

<project default="hello" name="hello_world">
  <target name="hello">
    <echo message="Hello, World"/>
    <echo>Java Version via Ant: ${}</echo>
    <echo>Java Version System Prop: ${java.version}</echo>

Tried with a sun-jdk, but same when using a more recent OpenJDK behind a "J2SE-1.5 Environment".

Only when using a newer JDK 1.6 up or the "same JRE as workspace" (which is an OpenJDK 1.7) ant scripts are starting / running.

Besides: running the said JSP compiler with 1.7 takes about 8 times the time running it outside Eclipse with JDK 1.5, about 12 minutes - strange.. (if the results would be OK is not verified - we want to stick with 1.5 for the moment)

Currently running externally (the even newer ant 9.3 there has no problem with a JDK 1.5 - Luna includes 9.2)

[edit: also tried to replace the included ant 9.2 with an older 1.8.4 - no difference - ant not starting with any JDK 1.5 set as JRE]

So - any known ant problems in Luna, no one else has this (or simply no one left using JDK 1.5)?

Thanks for any hint.

[Updated on: Thu, 17 July 2014 15:02]

Report message to a moderator

Previous Topic:Eclipse Error - JVM terminated. exit code = -1
Next Topic:Append to java.library.path for Subclipse and JavaHL
Goto Forum:

Current Time: Mon Jun 24 06:16:13 GMT 2024

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

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

Back to the top