7
rated 0 times
[
7]
[
0]
/ answers: 1 / hits: 50126
/ 1 Year ago, fri, march 17, 2023, 5:48:32
I installed sun-java6-jdk
.
I need to find its home directory. JAVA_HOME
must point to a JDK installation, not JRE.
More From » java
I installed sun-java6-jdk
.
I need to find its home directory. JAVA_HOME
must point to a JDK installation, not JRE.
You should be able to use the whereis
command to find where your JDK is installed.
whereis java
On my Ubuntu 12.04 install, OpenJDK has files located in /usr/bin/java
, /usr/bin/X11/java
, /usr/share/java
, /usr/share/man/man1/java.1.gz
. I'm guessing the Oracle version is located in the same directories.