$ java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
$ which java
/usr/bin/java
$ ls /usr/libexec/java_home
/usr/libexec/java_home
Pero cuando ejecuto alguna aplicación desde el terminal, se dice en terminal:
No java installations was detected.
Please go to http://www.java.com/getjava/ and download