I installed sun-java6-jdk.

I need to find it's home directory, because now I have the problem: JAVA_HOME must point to a JDK installation, not JRE.

link|improve this question

75% accept rate
feedback

1 Answer

up vote 1 down vote accepted

Have you tried to use the whereis (whereis java)command? On my Ubuntu 12.04 install openjdk is 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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.