FAQ  •  Register  •  Login

Can't run Serviio afte MAC update, need to install JAVA SE 6

<<

newway

Serviio newbie

Posts: 1

Joined: Sun Oct 19, 2014 7:54 pm

Post Sun Oct 19, 2014 8:01 pm

Can't run Serviio afte MAC update, need to install JAVA SE 6

So I've been using Serviio for quite a while, but last night when I update my macbook to Yosemite, all of a sudden Serviio stopped working,
when I click "Serviio" it popup "To open Serviio you need to install the legacy Java SE 6 runtime". WTF? I have java 7/8 SDK and JRE installed
all along, do I have to download JAVA 6? surely that can't be right?


P.S. I updated Serviio to 1.4.1, same error, please help.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Oct 19, 2014 10:17 pm

Re: Can't run Serviio afte MAC update, need to install JAVA

Java 6 is probably installed in a different location that 7/8. You might have to install 6 too. 1.5 will address this, but it's still some time away.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Oct 20, 2014 8:32 am

Re: Can't run Serviio afte MAC update, need to install JAVA

<<

mpi

Serviio lover

Posts: 66

Joined: Fri Nov 18, 2011 9:15 pm

Post Fri Nov 07, 2014 11:11 am

Re: Can't run Serviio afte MAC update, need to install JAVA

How is Java then invoked by Serviio?
Knowing this would help symlink with JRE8 files.

I tried linking each of
/System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/java
/usr/bin/java
to JRE8's location
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
but it won't solve the issue with Serviio 1.4.1.2

Thanks for any help
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Nov 11, 2014 7:27 pm

Re: Can't run Serviio afte MAC update, need to install JAVA

There is a Stub file, that looks for the Java executable in a location where java 6 was. java 8 is now installed in another location.

1.5 will come with embedded java, but in the meantime, you should install java 6 as per the above link.
<<

buttcmd

Serviio newbie

Posts: 2

Joined: Thu Nov 27, 2014 10:43 pm

Post Thu Nov 27, 2014 10:48 pm

Re: Can't run Serviio afte MAC update, need to install JAVA

if you want to run serviio with your own java and not with Java 6, you only need to run java yourself without using the javastub provided with the program(the javastub is used when you doeble click the serviio icon).
This is not a beautiful way but it works. It is pretty easy to make a script associated to an icon afterwards if it is needed/wanted.

To run the serviio server open a terminal and run this:
cd /Applications/Serviio.app/Contents/Resources/Java/;java -cp serviio.jar:commons-codec.jar:commons-imaging.jar:commons-io.jar:commons-jxpath.jar:commons-lang.jar:concurrent.jar:derby.jar:freemarker.jar:groovy-all.jar:gson.jar:httpcore.jar:jaudiotagger.jar:jcl-over-slf4j.jar:jcs.jar:jdom.jar:jnat-pmplib.jar:jul-to-slf4j.jar:log4j.jar:lucene-analyzers-common.jar:lucene-core.jar:org.restlet.ext.gson.jar:org.restlet.ext.net.jar:org.restlet.ext.xstream.jar:org.restlet.jar:padlock.jar:rome-modules.jar:rome.jar:sbbi-upnp.jar:serviio-media-browser-web.jar:serviio-media-browser.jar:slf4j-api.jar:slf4j-log4j12.jar:streamflyer-core.jar:winp.jar:xstream.jar:config org.serviio.MediaServer

To run the serviio-console (after you run the server) run this:
cd /Applications/Serviio-Console.app/Contents/Resources/Java;java -cp commons-codec.jar:jul-to-slf4j.jar:log4j.jar:org.restlet.ext.net.jar:org.restlet.ext.xstream.jar:org.restlet.jar:serviio-client.jar:serviio.jar:slf4j-api.jar:slf4j-log4j12.jar:xstream.jar:config org.serviio.console.ServiioConsole
<<

jutre

Serviio newbie

Posts: 1

Joined: Sun Nov 23, 2014 1:33 am

Post Fri Dec 05, 2014 11:15 pm

Re: Can't run Serviio afte MAC update, need to install JAVA

buttcmd wrote:if you want to run serviio with your own java and not with Java 6, you only need to run java yourself without using the javastub provided with the program(the javastub is used when you doeble click the serviio icon).
This is not a beautiful way but it works. It is pretty easy to make a script associated to an icon afterwards if it is needed/wanted.

To run the serviio server open a terminal and run this:
cd /Applications/Serviio.app/Contents/Resources/Java/;java -cp serviio.jar:commons-codec.jar:commons-imaging.jar:commons-io.jar:commons-jxpath.jar:commons-lang.jar:concurrent.jar:derby.jar:freemarker.jar:groovy-all.jar:gson.jar:httpcore.jar:jaudiotagger.jar:jcl-over-slf4j.jar:jcs.jar:jdom.jar:jnat-pmplib.jar:jul-to-slf4j.jar:log4j.jar:lucene-analyzers-common.jar:lucene-core.jar:org.restlet.ext.gson.jar:org.restlet.ext.net.jar:org.restlet.ext.xstream.jar:org.restlet.jar:padlock.jar:rome-modules.jar:rome.jar:sbbi-upnp.jar:serviio-media-browser-web.jar:serviio-media-browser.jar:slf4j-api.jar:slf4j-log4j12.jar:streamflyer-core.jar:winp.jar:xstream.jar:config org.serviio.MediaServer

To run the serviio-console (after you run the server) run this:
cd /Applications/Serviio-Console.app/Contents/Resources/Java;java -cp commons-codec.jar:jul-to-slf4j.jar:log4j.jar:org.restlet.ext.net.jar:org.restlet.ext.xstream.jar:org.restlet.jar:serviio-client.jar:serviio.jar:slf4j-api.jar:slf4j-log4j12.jar:xstream.jar:config org.serviio.console.ServiioConsole


Thanks for this suggestion buttcmd !

After doing step 1, I can see the serviio server in the list of processes (org.serviio.MediaServer). However, the console does not start with step 2. I am running Yosemite 10.10.1. Any idea why the console fails to start ?

Return to Serviio Support & Help

Who is online

Users browsing this forum: Baidu [Spider] and 28 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.