Unable to run PMS 1.7 using Java 1.7.0.7 with Mac OS X

For help and support with issues specific to Mac OS X
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

Unable to run PMS 1.7 using Java 1.7.0.7 with Mac OS X

Postby bigkahuna » Sat Sep 08, 2012 4:50 pm

I recently installed the Java security 1.7.0.7 update from Oracle on Mac OS X Mountain Lion.

Now when I try to run PS3 Media Server I get a dialog:

Cannot launch “PS3 Media Server”
No compatible version of Java 1.6+ is available.

I don't have Java 6 installed anymore. How come the media server doesn't work with Java 7 as it's backwards compatible with Java 6?

Is there some sort of file denoting the Java versions which are acceptable.

I've looked in the package file and I see two files:

JavaApplicationStub and JavaApplicationStub.env in Contents/MacOS.

The first file seems to be binary and the second file seems to be a text file in which I export JAVA_HOME to a Java 6 installation but with no success. I know that PMS 1.7 is compatible with Java 7 as I've run on Ubuntu without any problems so there seems to be some hardcoded behaviour for the Mac OS X distibution.

How can this be fixed? I don't want to downgrade to Java 6 just to get the media server working.

Thanks in advance for any information offered.
bigkahuna
 
Posts: 2
Joined: Sat Sep 08, 2012 4:42 pm

Re: Unable to run PMS 1.7 using Java 1.7.0.7 with Mac OS X

Postby Raptor399 » Sun Sep 09, 2012 8:02 am

Interesting.

I opened the file "/Applications/PS3 Media Server.app/Contents/Info.plist" and it contains this:

Code: Select all
                        <key>JVMVersion</key>
                        <string>1.6+</string>

That looks as if 1.7 ought to be allowed.

Also interesting is that I run OSX Mountain Lion with the latest patches as well, but when I type "java -version" in a terminal it says 'java version "1.6.0_35"'. Maybe Java 6 came with the Xcode package I installed?

If you tech savvy, you can of course try to build PMS yourself.
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am


Return to Mac OS X Support

Who is online

Users browsing this forum: No registered users and 5 guests