PDA

View Full Version : how to find out where software is installed



tweety77
11-04-2003, 05:46 PM
Hello,´
I´m trying to find out where my Java Runtime Env. is installed? Can anyone tell me how to find out in which directory packages are installed?

Cheers + thanks,
tw77

podious
11-04-2003, 07:51 PM
run this from the command line:


which java

and that will tell you where the java binary is stored.

you might also try:


echo $JAVA_HOME

rneff
11-04-2003, 09:04 PM
The which command returns the pathname of the program that you give it as an argument.

This is NOT always the same place that the rest of the configuration files for that program.

Wirf
11-06-2003, 08:27 AM
You might allso want to try

locate java
or

cd /; find ./ -name java

horo
11-06-2003, 09:27 AM
Hi,

locate searches a database. It is a good idea to update it from time to time (e.g. if you installed software). The command is:
updatedb

Ciao Martin