Tiny Core Linux
General TC => Programming & Scripting - Unofficial => Topic started by: millepattes on October 13, 2011, 06:09:16 AM
-
Hi everyone,
I have installed on TCL (running on Oracle Vm Virtual Box) the following products:
openjdk-6-jdk
openjdk-6-jre
apache-ant
Then I have added JAVA_HOME, ANT_HOME and modified PATH environment variables in my configuration file.
Java works correctly, but when I try to launch ant, I get the following error:
"Unable to locate tools.jar. Expected to find in /tmp/tcloop/openjdk-6-jre/usr/local/openjdk-6/lib/tools.jar"
I don't understand why tools.jar is searched on the above path. Can anyone tell me if this is related to TCL?
Thanks,
Millepattes
-
It is expecting openjdk-6-jre.tcz to be loaded.
-
I get the same error:
Unable to locate tools.jar. Expected to find it in /tmp/tcloop/openjdk-7-jre/usr/local/openjdk-7/lib/tools.jar
The file does exist:
/usr/local/openjdk-7/lib/tools.jar
...but since tcloop is a read-only filesystem, I can't dodge this problem with a symlink.
-
I would not say stupid things (I'm probably saying it), you use java ondemand / as a dependency?
You can try to set onboot?