ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David McTavish <dmctav...@SANDVINE.com>
Subject RE: wrong JAVA_HOME
Date Fri, 25 Oct 2002 20:25:10 GMT
Check your path and classpath. If the "jre" folder is higher in the path, I
believe that ant will resort to using that, regardless of what is set in
ANT_HOME.

ie:
PATH=E:\Programme\Java\j2sdk1.4.1_01\jre;E:\Programme\Java\j2sdk1.4.1_01
this could be your problem.

d.


-----Original Message-----
From: Rafal Kedziorski [mailto:rafcio@polonium.de]
Sent: Friday, October 25, 2002 4:01 PM
To: Ant Users List
Subject: wrong JAVA_HOME


Hallo,

I set my JAVA_HOME to E:\Programme\Java\j2sdk1.4.1_01. Why shows Ant other 
value?

Buildfile: build.xml

info:
      [echo] java.version       : 1.4.1_01
      [echo] java.class.version : 48.0
      [echo] java.vendor        : Sun Microsystems Inc.
      [echo] java.vendor.url    : http://java.sun.com/
      [echo] os.arch            : x86
      [echo] os.name            : Windows 2000
      [echo] java.home          : E:\Programme\Java\j2sdk1.4.1_01\jre
      [echo] user.dir           : G:\projekte\s2g\JBossWLS\build
      [echo] user.home          : C:\Dokumente und Einstellungen\rafcio
      [echo] user.name          : rafcio
      [echo] file.separator     : \

      [echo] basedir            : G:\projekte\s2g\JBossWLS\build
      [echo] ant.file           : G:\projekte\s2g\JBossWLS\build\build.xml
      [echo] ant.version        : Apache Ant version 1.5 compiled on July 9 
2002
      [echo] ant.project.name   : space2go
      [echo] ant.java.version   : 1.4

BUILD SUCCESSFUL
Total time: 2 seconds

So I get error while compiling with javac. With jikes it works. I don't 
will user executable attribute in javac task.


Best Regards,
Rafal 


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message