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
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

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray
$174.99
Dell OptiPlex 5070 SFF i7-9700 (8-Core) 3.0GHz 16GB 256 SSD Windows 11
$250.00
AMD Ryzen 7 PRO 8700GE 8-Core/16-Thread Up to 5.1GHz AM5 (FL1)
$189.00
AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 Zen 5 Desktop Processor NEW
$400.00
AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 Zen 5 Desktop Processor NEW
$399.00
Apple Macbook Pro 13" M1 8-Core 16GB 512GB - Good
$464.99
Blue iMac24 inch 8 core CPU 256GBSSD iMac with Apple MI chip
$975.00
AMD Ryzen Threadripper PRO 3945WX 12-Core 4.0GHz sWRX8 CPU NEW Tray Unlocked
$79.99
Home Assistant Server | 8GB RAM | 128GB SSD | Intel i5 Quad-Core | Dell OptiPlex
$159.99
DELL OPTIPLEX 3280 21.5" AIO Core i5 10500T 8GB 256GB NVMe Windows 11 -NO STAND
$199.99