The UNIX way.

Around the clock, across the globe. By Vladimir Legeza

Posts Tagged ‘Java Web Start

Enable JRE on MacOS X 10.7

leave a comment »

Today I’ve tried to use iKVM for IPMI from SuperMicro.

At first try my browser download the .jnlp file and get “No Java runtime present …” when tries to feed it to the Java Web Start.

Installing JRE(7n15) from had not solve that problem.

Problem was gone when after a quick search and dancing around solutions from can’t find JRE and Java for OS X I downgrade Java to version 1.6.0_41 (For Java versions 6 and below, Apple supplies their own version of Java. Java for OS X 2013-001) and execute these two commands:

$ defaults write WebComponentsEnabled -bool true
$ sudo ln -fs /System/Library/Frameworks/JavaVM.framework/Commands/javaws /usr/bin/javaws

The second thing you should check if the previous receipt is not working for you is the JavaWebComponentVersionMinimum variable value. Originally I found this solution here.

To verify the current value of JavaWebComponentVersionMinimum in your system execute the following:
$ sudo /usr/libexec/PlistBuddy -c "Read :JavaWebComponentVersionMinimum" /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.plist

You now can make a decision to delete or change this value by changing Read command to Delete or Write respectively.

Written by Vladimir Legeza

February 21, 2013 at 6:29 pm

Posted in Java, OS, OS X

Tagged with , , , ,