Hi,

I am using gcj as my only jdk, so I am limited to using java 1.5. After 
installing ant-1.8.1, however, I am having problems building packages with ant 
because ant.java.version is set to 1.6. I have never had a jdk that supports 
java 1.6 on my system, so why would this be set like that?

# ant -diagnostics
Unable to locate tools.jar. Expected to find it in /usr/lib/tools.jar
------- Ant diagnostics report -------
Apache Ant version 1.8.1 compiled on November 9 2010

-------------------------------------------
 Implementation Version
-------------------------------------------
core tasks     : 1.8.1 in file:/usr/share/ant/lib/ant.jar
optional tasks : 1.8.1 in file:/usr/share/ant/lib/ant-nodeps.jar

-------------------------------------------
 ANT PROPERTIES
-------------------------------------------
ant.version: Apache Ant version 1.8.1 compiled on November 9 2010
ant.java.version: 1.6
ant.core.lib: /usr/share/ant/lib/ant.jar
ant.home: /usr/share/ant

-------------------------------------------
 ANT_HOME/lib jar listing
-------------------------------------------
ant.home: /usr/share/ant
ant.jar (1535600 bytes)
ant-junit.jar (99160 bytes)
ant-jmf.jar (6709 bytes)
ant-launcher.jar (12473 bytes)
ant-nodeps.jar (415873 bytes)
ant-swing.jar (7547 bytes)

-------------------------------------------
 USER_HOME/.ant/lib jar listing
-------------------------------------------
user.home: /root
No such directory.

-------------------------------------------
 Tasks availability
-------------------------------------------
p4revert : Not Available (the implementation class is not present)
p4label : Not Available (the implementation class is not present)
image : Not Available (the implementation class is not present)
wlrun : Not Available (the implementation class is not present)
sshexec : Not Available (the implementation class is not present)
p4reopen : Not Available (the implementation class is not present)
ddcreator : Not Available (the implementation class is not present)
scp : Not Available (the implementation class is not present)
rexec : Not Available (the implementation class is not present)
wlstop : Not Available (the implementation class is not present)
p4fstat : Not Available (the implementation class is not present)
sshsession : Not Available (the implementation class is not present)
ftp : Not Available (the implementation class is not present)
netrexxc : Not Available (the implementation class is not present)
antlr : Not Available (the implementation class is not present)
p4labelsync : Not Available (the implementation class is not present)
p4resolve : Not Available (the implementation class is not present)
starteam : Not Available (the implementation class is not present)
stcheckin : Not Available (the implementation class is not present)
jdepend : Not Available (the implementation class is not present)
p4have : Not Available (the implementation class is not present)
stlabel : Not Available (the implementation class is not present)
stcheckout : Not Available (the implementation class is not present)
p4edit : Not Available (the implementation class is not present)
ejbc : Not Available (the implementation class is not present)
p4sync : Not Available (the implementation class is not present)
telnet : Not Available (the implementation class is not present)
p4counter : Not Available (the implementation class is not present)
stlist : Not Available (the implementation class is not present)
p4integrate : Not Available (the implementation class is not present)
p4delete : Not Available (the implementation class is not present)
p4change : Not Available (the implementation class is not present)
p4submit : Not Available (the implementation class is not present)
p4add : Not Available (the implementation class is not present)
A task being missing/unavailable should only matter if you are trying to use it

-------------------------------------------
 org.apache.env.Which diagnostics
-------------------------------------------
Not available.
Download it at http://xml.apache.org/commons/

-------------------------------------------
 XML Parser information
-------------------------------------------
XML Parser : gnu.xml.stream.SAXParser
XML Parser Location: unknown
Namespace-aware parser : gnu.xml.stream.SAXParser
Namespace-aware parser Location: unknown

-------------------------------------------
 XSLT Processor information
-------------------------------------------
XSLT Processor : gnu.xml.transform.TransformerImpl
XSLT Processor Location: unknown

-------------------------------------------
 System properties
-------------------------------------------
ant.library.dir : /usr/share/ant/lib
path.separator : :
java.vm.name : GNU libgcj
java.vm.specification.name : Java(tm) Virtual Machine Specification
java.runtime.version : 1.5.0
java.home : /usr
java.vm.specification.version : 1.0
line.separator :

java.vm.specification.vendor : Sun Microsystems Inc.
gnu.classpath.home.url : file:///usr/lib
gnu.classpath.version : 0.98
gnu.gcj.progname : org.apache.tools.ant.launch.Launcher
java.specification.version : 1.5
gnu.java.util.zoneinfo.dir : /usr/share/zoneinfo
java.library.path : /usr/lib/gcj-4.5.1-11
gnu.classpath.vm.shortname : libgcj
java.class.version : 49.0
java.specification.name : Java(tm) Platform API Specification
os.version : 2.6.33.7-dockstar
gnu.classpath.home : /usr
user.home : /root
file.encoding : UTF-8
ant.home : /usr/share/ant
os.name : Linux
user.name : root
java.class.path : /usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant.jar
:/usr/share/ant/lib/ant-junit.jar:/usr/share/ant/lib/ant-jmf.jar:/usr/share/ant/
lib/ant-launcher.jar:/usr/share/ant/lib/ant-nodeps.jar:/usr/share/ant/lib/ant-sw
ing.jar
java.io.tmpdir : /tmp
os.arch : armv5tel
java.fullversion : GNU libgcj 4.5.1
user.language : en
java.specification.vendor : Sun Microsystems Inc.
user.dir : /var/db/paludis/repositories/java/packages/dev-lang/icedtea6
java.vm.info : GNU libgcj 4.5.1
java.version : 1.5.0
java.ext.dirs : /usr/share/java/ext
gnu.gcj.user.realname : root
sun.boot.class.path : /usr/share/java/libgcj-4.5.1.jar
java.vendor : Free Software Foundation, Inc.
java.vendor.url : http://gcc.gnu.org/java/
java.vm.vendor : Free Software Foundation, Inc.
file.separator : /
java.vm.version : 4.5.1
http.agent : gnu-classpath/0.98 (libgcj/4.5.1)
gnu.cpu.endian : little
gnu.gcj.precompiled.db.path : /usr/lib/gcj-4.5.1-11/classmap.db
user.region : GB
gnu.gcj.runtime.endorsed.dirs : /usr/share/java/gcj-endorsed

-------------------------------------------
 Temp dir
-------------------------------------------
Temp dir is /tmp
Temp dir is writeable
Temp dir alignment with system clock is -474 ms

-------------------------------------------
 Locale information
-------------------------------------------
Timezone GMT-05:00 offset=-18000000

-------------------------------------------
 Proxy information
-------------------------------------------
Java1.5+ proxy settings:
Direct connection


Thanks,
Eric

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to