Question or issue on macOS:
The Java runtime shipping in Mac OS X 10.6 Snow Leopard, and Mac OS X 10.5 Leopard, will continue to be supported and maintained through the standard support cycles of those products.' crarko adds: I would take this as a pretty serious hint from Apple that if you develop software in Java for use on Mac OS X, be prepared for a bumpy ride ahead. Question or issue on macOS: I am looking for the path the the JRE file on Mac OS X 10.6.8. Or is there no such file? Is JRE just slang for an idea or concept? Java Runtime Environment is a real thing. Does it have a file? I am installing something that asks for the.
I am looking for the path the the JRE file on Mac OS X 10.6.8.
Or is there no such file?
Is JRE just slang for an idea or concept?
Java Runtime Environment is a real thing.
Does it have a file?
I am installing something that asks for the path to the JRE file
http://www.boonex.com/trac/dolphin/wiki/RayMediaServerInstallation
How to solve this problem?
Solution no. 1:
On the mac, set JAVA_HOME to '/System/Library/Frameworks/JavaVM.framework/Home'
The JRE is not a file. The JRE is the java runtime environment and is made up of many files. The convention for java is to specify the JAVA_HOME. That is a directory containing a bin folder.
Solution no. 2:
In Mac you can find Java JRE's installed in the following folders
Mac Os 10.6 Full Version
/Library/Java/JavaVirtualMachines/
Example
/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home.
Solution no. 3:
After installing the latest JRE8 (as of today update 131), do the following :
In your .bash_profile
add the following
Then add that to your path export PATH=$PATH:$JAVA_HOME
. Save and open a new terminal. Type java -version
. You should see output like this:
Solution no. 4:
On El Capitan with Java 8, here is a way to check the path of jre.
Go 'System Preference/Java', then go third tab 'Java' and click 'View'. Then you can get the JRE path, which is /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/
Solution no. 5:
If you installed jre by dmg.
You can find your 'java' at
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
and you can check version by command:
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -version
Solution no. 6:
The /System/Library/Frameworks/JavaVM.framework/Home
answer used to be correct.
With Oracle Java 8 (and later?) on MacOSX Sierra the /System/Library/Frameworks/JavaVM.framework/Home
doesn't exist.
The answer for /Library/Java/JavaVirtualMachines/
is much closer. For the JDK at /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Content/Home
, for instance, just add /jre
to the end of that path for the JRE.