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:
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.