Reputation: 463
I have a requirement where I have to run java application(.mpkg) with latest JRE version on Mac OS X Yosemite 10.10. And I have done the following steps.
JAVA_HOME=/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/
in ~./bash_profile
and also ran shell command source ~./bash_profile
echo $JAVA_HOME
is showing /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/
Please suggest answers specific to the JRE.
Little background: Earlier, I had JDK1.6 installed on my Mac OS X Yosemite 10.10 machine. I had to uninstall it because I have to run my application with latest version of JRE. I uninstalled JDK1.6 by following steps:
Upvotes: 1
Views: 2708
Reputation: 463
Note: The below points should be read keeping into mind that they are tested with Mac OS X 10.10.2 and Java 7 & 8.
Upvotes: 0