When I type java -version
I see:
No Java runtime present, requesting install.
I go to download and install jre-7u75-macosx-x64.
After that in preferences I see Java control panel which tells me that I have recommended version of Java (Java 7 update 75) but terminal says again that
No Java runtime present, requesting install.
When I type
export JAVA_HOME="
/usr/libexec/java_home -v 1.7
"
I see:
Unable to find any JVMs matching version "1.7". No Java runtime present, try --request to install.
Java control panel shows that Java located in
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
What am I doing wrong?
Aucun commentaire:
Enregistrer un commentaire