

I uninstalled JDK1.6 by following steps: I had to uninstall it because I have to run my application with latest version of JRE.

Write, edit, copy, move and delete files on Microsoft NTFS volumes from your Mac.
JAVA RUNTIME ENVIRONMENT MAC OS YOSEMITE FOR MAC
If you work on a Mac computer and need to read or write files from HDD, SSD or a flash drive formatted under Windows, you need Microsoft NTFS for Mac by Paragon Software. Microsoft NTFS is one of the primary Windows file systems. Microsoft NTFS for Mac by Paragon Software is the best such software solution: reliable, fast, and now affordable as well Fast, seamless, and easy to use, Microsoft NTFS for Mac by Paragon Software is required for those who need to write to Windows volumes. Little background: Earlier, I had JDK1.6 installed on my Mac OS X Yosemite 10.10 machine. Java -version is providing output java version '1.8.0_25' Java(TM) SE Runtime Environment (build 1.8.0_25-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode) But when I am running the.mpkg/installer I am getting exception pop up saying 'To view this web content, you need to install the Java Runtime Environment.' Please suggest answers specific to the JRE.echo $JAVA_HOME is showing /Library/Internet Plug-Ins/ugin/Contents/Home/.Set the JAVA_HOME=/Library/Internet Plug-Ins/ugin/Contents/Home/ in ~./bash_profile and also ran shell command source ~./bash_profile.I have installed the latest JRE from Oracle website.I have a requirement where I have to run java application(.mpkg) with latest JRE version on Mac OS X Yosemite 10.10. When you install Mac OS X 10.10 Yosemite you'll have to re-install the Java Runtime Environment (JRE).
