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
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
AMD Ryzen 7 PRO 8700GE 8-Core/16-Thread Up to 5.1GHz AM5 (FL1)
$189.00
SGIN 17.3" Laptop Intel Quad-Core Up to 2.4 GHZ 8GB RAM 256GB SSD HD
$229.99
Dell T7810 Workstation 8-Core 2.40GHz E5-2630 v3 No RAM GPU HDD OS
$259.98
Apple Macbook Pro 13" M1 8-Core 16GB 512GB - Good
$464.99
Intel Xeon E5 - 2667V2 / SR19W 3.30GHz 25MB 8-Core CPU Socket LGA2011
$30.00
AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 CPU Processor Brand New Unused
$395.95
AMD Ryzen 7 9700X 8-Core 16-Thread 40MB Cache Socket AM5 9000 Series Processor
$245.99
Dell OptiPlex 7060 Intel Core i7-8700 3.2GHz 8GB RAM 256GB Windows 11 Pro FAST
$159.99
Lenovo ThinkStation P520 Intel Xeon W-2245 8-Core 3.90GHz - NO RAM/ GPU/ HDD/ OS
$359.98