Tools.jar in linux

C

CezarAntonio

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
 
L

Lew

CezarAntonio said:
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/
 
K

~kurt

CezarAntonio said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top