Hi friends, i'm need your help.
The file Tools.jar exists in Linux?
How i find this file? Exists anybody way of i know the classpath the
machine?
Thank's , sorry my english.
Cézar
Lew - 28 May 2007 02:03 GMT
> Hi friends, i'm need your help.
> The file Tools.jar exists in Linux?
> How i find this file? Exists anybody way of i know the classpath the
> machine?
If you mean 'tools.jar', since upper- and lower-case letters matter, it comes
with Java, not Linux as such.
Is Java installed on your Linux?
I have a JDK on my Redhat box in /usr/java/jdk1.6.0_01/,the location I
specified when I installed Java.
Within there is the directory /usr/java/jdk1.6.0_01/lib/, in which I find
/usr/java/jdk1.6.0_01/lib/tools.jar
When running with this version of Java, I have an environment variable
JDK_HOME set to the top of my JDK tree. Let's say I have my main Java version
installed in /usr/java/java/ (which I do, through the magic of symlinks).
$ export JDK_HOME=/usr/java/java
$ ls ${JDK_HOME}/lib/

Signature
Lew
~kurt - 28 May 2007 04:46 GMT
> The file Tools.jar exists in Linux?
> How i find this file? Exists anybody way of i know the classpath the
> machine?
For a non "Java" related solution to finding files in Linux:
You can usually use the locate command:
locate -i tools.jar
Or, if that doesn't work, the brute force method:
find / -iname Tools.jar -print
You can use the "man" command to lookup what each of the above
commands does and what the options are.
- Kurt