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
Printable View
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
run this from the command line:
and that will tell you where the java binary is stored.Code:which java
you might also try:
Code:echo $JAVA_HOME
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.
You might allso want to try
orCode:locate java
Code:cd /; find ./ -name java
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