Page 1 of 1

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

PostPosted: Sun Oct 19, 2014 8:01 pm
by newway
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.

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

PostPosted: Sun Oct 19, 2014 10:17 pm
by zip
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.

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

PostPosted: Mon Oct 20, 2014 8:32 am
by zip

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

PostPosted: Fri Nov 07, 2014 11:11 am
by mpi
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

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

PostPosted: Tue Nov 11, 2014 7:27 pm
by zip
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.

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

PostPosted: Thu Nov 27, 2014 10:48 pm
by buttcmd
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

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

PostPosted: Fri Dec 05, 2014 11:15 pm
by jutre
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 ?