Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
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

 Answers
1

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.


[#40224] Sunday, March 19, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
steaocyte

Total Points: 345
Total Questions: 122
Total Answers: 121

Location: Spain
Member since Wed, Nov 23, 2022
1 Year ago
steaocyte questions
;