Bumping on my very own thread. I just installed Java 8 on my Mac and tried to export the path in my .bash_profile. But now I'm not able to find out which version is installed as I see the following on starting up a terminal:
Unable to find any JVMs matching version "1.8.0_60".
I installed jre-8u60-macosx-x64.dmg on my Mac. What would this be as a version number that I can export as JAVA_HOME?