Change version of Java Subsonic uses

Tutorials, tips and tricks.

Moderator: moderators

Change version of Java Subsonic uses

Postby getjams » Mon Jan 19, 2015 6:54 am

System:
Mac Mini, quad core i7, 8GB RAM, OS X 10.10.1
Subsonic 5.1
Java: Java 6 and 7, latest Java 7 JDK installed, update 71.

When I launch Subsonic, the About screen tells me:
License Subsonic Premium
Version 5.1 (build 4310) – January 18, 2015
Server jetty-6.1.x, java 1.6.0_65, Mac OS X (91.8 MB / 117.9 MB)

terminal commands:

echo $JAVA_HOME
$/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home

java -version
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

/usr/libexec/java_home -V
Matching Java Virtual Machines (3):
1.7.0_71, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home
1.6.0_65-b14-466.1, x86_64: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
1.6.0_65-b14-466.1, i386: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home

I think there are a few features that require Java 7, and I would rather it use the more current Java, so how do I tell Subsonic to use Java 7 and not Java 6?

Thanks!
getjams
 
Posts: 6
Joined: Mon Sep 10, 2012 9:12 pm

Re: Change version of Java Subsonic uses

Postby jimmy2times » Mon Jan 19, 2015 8:46 am

The Mac install package seems to enforce a legacy JVM (version 6, 32bit), but if you use the standalone version it will work with whatever current version you have.
I switched to that and use my own applescript to run the server at login.
Hopefully this will be addressed eventually.
jimmy2times
 
Posts: 8
Joined: Thu Oct 10, 2013 4:48 pm

Re: Change version of Java Subsonic uses

Postby getjams » Mon Jan 19, 2015 4:29 pm

Ah, great! I can deal with that. I notice one or two features that say they require Java 7+, so does that mean Java 8 is ok?
getjams
 
Posts: 6
Joined: Mon Sep 10, 2012 9:12 pm


Return to Tutorials

Who is online

Users browsing this forum: Bing [Bot] and 1 guest