Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2007

Tip: Looking for answers? Try searching our database.

Tools.jar in linux

Thread view: 
CezarAntonio - 28 May 2007 01:15 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?

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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.