FAQ  •  Register  •  Login

Serviio 1.5 – cannot install b/c no JRE 8 for download

<<

Neumann

Streaming enthusiast

Posts: 20

Joined: Wed Dec 10, 2014 3:07 pm

Post Thu Jan 15, 2015 10:32 am

Serviio 1.5 – cannot install b/c no JRE 8 for download

I bought my Serviio PRO licence just recently, but just before Serviio 1.5. I'm currently running 1.4.1.2 on a Zyxel NSA325-v2. Now, I cannot update since Oracle doesn't provide the appropriate JRE for Java 8 anymore. I downloaded http://download.oracle.com/otn/java/ejdk/8u6-b23/ejdk-8u6-fcs-b23-linux-arm-sflt-12_jun_2014.tar.gz, unpacked it under Win 7, and found a directory called ...\ejdk-8u6-fcs-b23-linux-arm-sflt-12_jun_2014\ejdk1.8.0_06\linux_arm_sflt\jre\. The directory structure under it looks pretty much like my current Java 7 on the NAS, but I'm not sure if I can just copy it over and use it.

On the Oracle site, they say you have to create the JRE using JRECreate, which would require a Linux machine with 1GB of free memory. So, no hope doing it on the NAS itself. (And certainly not on my Win 7 PC.)

Can anyone help, or even provide a suitable JRE 8?

Also, where can I get ffmpeg 2.4?
<<

norm

Serviio lover

Posts: 72

Joined: Tue Apr 09, 2013 3:18 pm

Post Sat Jan 17, 2015 7:11 pm

Re: Serviio 1.5 – cannot install b/c no JRE 8 for download

Compiling ffmpeg is quite an involved task. You might be best asking on http://forum.nas-central.org/viewforum.php?f=249 to see if someone can assist.
<<

Neumann

Streaming enthusiast

Posts: 20

Joined: Wed Dec 10, 2014 3:07 pm

Post Tue Jan 20, 2015 12:06 pm

Re: Serviio 1.5 – cannot install b/c no JRE 8 for download

Thank you, but I think my current ffmpeg 2.1.3 would do just as well. I use transcoding rather rarely, anyway; DTS –> AC3 should still work.

The bigger problem is the Java 8 runtime environment. I think I'll try Knoppix to build it from the JDK.

On the whole, this is quite disappointing. NAS is the actual domain for DLNA servers, but Serviio doesn't support it properly, at least not like the Win and Mac versions. Plex is much easier to install on a NAS. (But then it is so clumsy and overloaded, yet lacking essential featues, that you can't actually use it.)
<<

norm

Serviio lover

Posts: 72

Joined: Tue Apr 09, 2013 3:18 pm

Post Sun Feb 01, 2015 8:56 am

Re: Serviio 1.5 – cannot install b/c no JRE 8 for download

I have managed to create a ejre8_0_u6 using my Windows 7 laptop. Here's how to build the JAVA 8 ejre for ARM v5 (in my case Zyxel NSA 325). I downloaded the Windows 7 Oracle JAVA 8 JDK from http://www.oracle.com/technetwork/java/ ... 33151.html installed the 64bit version in my case (but shouldn't make any dfference).. Then I used 7zip to extract the previously downloaded Oracle Java SE Embedded 8 - ARMv5/ARMv6/ARMv7 Linux - SoftFP ABI to the root of my C drive to folder C:\ejdk1.8.0_06. The important part to get the jrecreate to work is to set the JAVA_HOME environment variable. Open up a cmd prompt, then set the JAVA_HOME variable to your jdk install path eg
  Code:
set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_31\

Once set cd in to the C:\ejdk1.8.0_06\bin then run
  Code:
c:\ejdk1.8.0_06\bin>jrecreate.bat --dest ejre1.8.0_6\ --vm client

If all goes well
  Code:
Building JRE using Options {
    ejdk-home: C:\ejdk1.8.0_06\bin\..
    dest: C:\ejdk1.8.0_06\bin\ejre1.8.0_6
    target: linux_arm_sflt
    vm: client
    runtime: jre
    debug: false
    keep-debug-info: false
    no-compression: false
    dry-run: false
    verbose: false
    extension: []
}


Target JRE Size is 45,729 KB (on disk usage may be greater).
Embedded JRE created successfully

Then copy the resulting "ejre1.8.0_6" folder to your NAS. Once copied across you will need to cd in to the ejre1.8.0_6/bin folder and run chmod +x * to make all of executables executable. Follow NAS Tweaks guide for installing JAVA under FFP. Then check that java is working correctly.
  Code:
# java -version
java version "1.8.0_06"
Java(TM) SE Embedded Runtime Environment (build 1.8.0_06-b23)
Java HotSpot(TM) Embedded Client VM (build 25.6-b23, mixed mode)
Then install Serviio 1.5 as per one of the earlier guides.
Last edited by norm on Sun Mar 08, 2015 9:08 am, edited 1 time in total.
<<

Neumann

Streaming enthusiast

Posts: 20

Joined: Wed Dec 10, 2014 3:07 pm

Post Mon Feb 02, 2015 3:02 pm

Re: Serviio 1.5 – cannot install b/c no JRE 8 for download

GREAT. Thank you so much. I had seen that jrecreate.bat file but I had no idea how to get it running under Win. Now I have Serviio 1.5 up and running on my NAS. The new instant refresh is very nice.

Found 2 oddities also: On the clients, it shows up as "Serviio (localhost.localdomain)", obviously failing to display the actual host name. And in the start file, serviiod.sh, I had to change the line "serv_pid=`ps aux | grep serviio.sh ..." under "status)", to "serv_pid=`ps aux | grep serviio | grep -v grep | awk '{print $2}'`", deleting the ".sh" ending after "serviio", for the status to be displayed properly.

Petty problems. Sure it will work fine. Thanks again.
<<

norm

Serviio lover

Posts: 72

Joined: Tue Apr 09, 2013 3:18 pm

Post Tue Feb 03, 2015 12:44 pm

Re: Serviio 1.5 – cannot install b/c no JRE 8 for download

Neumann wrote:Found 2 oddities also: On the clients, it shows up as "Serviio (localhost.localdomain)", obviously failing to display the actual host name. And in the start file, serviiod.sh, I had to change the line "serv_pid=`ps aux | grep serviio.sh ..." under "status)", to "serv_pid=`ps aux | grep serviio | grep -v grep | awk '{print $2}'`", deleting the ".sh" ending after "serviio", for the status to be displayed properly.

I found that this thread solves the Serviio(localhost.localdomain) problem. Changing the very top profile (profile 1) seemed to do the trick :).
<<

Neumann

Streaming enthusiast

Posts: 20

Joined: Wed Dec 10, 2014 3:07 pm

Post Wed Feb 04, 2015 1:22 pm

Re: Serviio 1.5 – cannot install b/c no JRE 8 for download

Thx, I've done that. All right on the clients that take the friendly name. Just for the record, the ServiiDroid app still shows "Serviio (localhost.localdomain)".
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Wed Feb 04, 2015 6:26 pm

Re: Serviio 1.5 – cannot install b/c no JRE 8 for download

Neumann wrote:Thx, I've done that. All right on the clients that take the friendly name. Just for the record, the ServiiDroid app still shows "Serviio (localhost.localdomain)".

ServiiDroid only reads the name when adding a server, it doesn't keep it up to date as it usually does not change. Either edit the server entry in ServiiDroid, or delete and re-add it.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

Neumann

Streaming enthusiast

Posts: 20

Joined: Wed Dec 10, 2014 3:07 pm

Post Thu Feb 05, 2015 8:22 am

Re: Serviio 1.5 – cannot install b/c no JRE 8 for download

Thanks. You're right. :o
<<

silverfisken

Serviio newbie

Posts: 19

Joined: Mon Dec 08, 2014 12:27 pm

Post Wed Mar 04, 2015 9:33 pm

Re: Serviio 1.5 – cannot install b/c no JRE 8 for download

Hi, I've tried building a java8 from jrecreate
But when in win7 dos prompt command: (elevate for admin)
  Code:
c:\ejdk1.8._33\bin>jrecreate.bat --dest ejre1.8.0_33\ --vm client

nothing happens.
It just get to new line with c:\ejdk1.8.0_33\bin

I tested to see the JAVA_HOME path and it's:
  Code:
c:\Program files\Java\jdk1.8.0_33\


What am I doing wrong?
Nas: Zyxel NSA325v2 with firmware V4.80(AALS.0)C0 + ffp
installed Serviio 1.6, java 1.8.0_33, Serviio Console 1.6
<<

norm

Serviio lover

Posts: 72

Joined: Tue Apr 09, 2013 3:18 pm

Post Sun Mar 08, 2015 9:11 am

Re: Serviio 1.5 – cannot install b/c no JRE 8 for download

silverfisken wrote:What am I doing wrong?
What happens if you run jrecreate.bat on it's own without any of the command switches?
<<

silverfisken

Serviio newbie

Posts: 19

Joined: Mon Dec 08, 2014 12:27 pm

Post Mon Mar 09, 2015 1:51 pm

Re: Serviio 1.5 – cannot install b/c no JRE 8 for download

norm wrote:What happens if you run jrecreate.bat on it's own without any of the command switches?


Nothing happens.

But now I see that jrecreate.bat is 0 byte. And I tried to open it with notepad and there is no code in the file.

How can this be?

How can I fix this?
Nas: Zyxel NSA325v2 with firmware V4.80(AALS.0)C0 + ffp
installed Serviio 1.6, java 1.8.0_33, Serviio Console 1.6
<<

norm

Serviio lover

Posts: 72

Joined: Tue Apr 09, 2013 3:18 pm

Post Mon Mar 09, 2015 2:26 pm

Re: Serviio 1.5 – cannot install b/c no JRE 8 for download

Try using 7zip to extract the files again.
<<

silverfisken

Serviio newbie

Posts: 19

Joined: Mon Dec 08, 2014 12:27 pm

Post Mon Mar 16, 2015 10:36 am

Re: Serviio 1.5 – cannot install b/c no JRE 8 for download

Thanks! Now Java is working. I unzipped the javafiles again.

(edited and removed the other questions how to upgrade serviio because you can search for it in this forum)
Nas: Zyxel NSA325v2 with firmware V4.80(AALS.0)C0 + ffp
installed Serviio 1.6, java 1.8.0_33, Serviio Console 1.6

Return to NAS installation

Who is online

Users browsing this forum: No registered users and 20 guests

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