FAQ  •  Register  •  Login

Install Serviio 1.5 on Windows without bundled Java

<<

andreyv

Serviio newbie

Posts: 16

Joined: Sun Dec 08, 2013 6:01 pm

Post Fri Jan 16, 2015 6:43 pm

Install Serviio 1.5 on Windows without bundled Java

Hello,

Serviio 1.5 release notes say that Java is now bundled with the installer for Windows. And indeed, after the installation I noticed that a JRE was installed in .../Program Files/Serviio/jre.

As I already have Java installed, I do not want a second JRE copy, which is also outdated (1.8.0.20 versus the latest 1.8.0.25) and won't be updated. How do I install/use Serviio without the bundled Java?

I tried removing the jre/ directory in hope that Serviio would use system Java, but the service doesn't start without it. Looking at serviio.bat source, I see that paths are hardcoded... I can edit them, but this doesn't seem right.
<<

stefana888

User avatar

DLNA master

Posts: 134

Joined: Mon Aug 18, 2014 6:24 am

Post Fri Jan 16, 2015 7:38 pm

Re: Install Serviio 1.5 on Windows without bundled Java

I'm keeping 1.4.1.2 no deal installing 1.5.
<<

GileZ

Serviio newbie

Posts: 13

Joined: Tue Nov 19, 2013 6:27 pm

Post Fri Jan 16, 2015 10:09 pm

Re: Install Serviio 1.5 on Windows without bundled Java

I can kind understand why it makes sense to offer to install Java for those who don't have it already, but I can't say that I understand the logic of forcing a Serviio-specific installation (and as you point out, not even the latest version) by default. I'm hoping to upgrade to v1.5 as soon as possible, but I'll want to make sure I can use the default Java installation before I do.
<<

stefana888

User avatar

DLNA master

Posts: 134

Joined: Mon Aug 18, 2014 6:24 am

Post Fri Jan 16, 2015 11:15 pm

Re: Install Serviio 1.5 on Windows without bundled Java

I see no new features at all making it worth updating a working installation. It makes no sense having more than one Java installation as well.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Jan 17, 2015 12:29 am

Re: Install Serviio 1.5 on Windows without bundled Java

A lot of people are getting errors regarding Java, be it the 32 vs 64 bit problem, or Java upgrade breaking stuff for them.

So this is for the normal users. If you guys want to use your own JRE, create a ticket and I'll add it for a future version.

For now, I guess you could create a link to the system jre -> serviio/jre
<<

andreyv

Serviio newbie

Posts: 16

Joined: Sun Dec 08, 2013 6:01 pm

Post Sat Jan 17, 2015 9:06 am

Re: Install Serviio 1.5 on Windows without bundled Java

Thanks for the symlink solution, it's really nice :) Using this solution I am able to run serviio.bat and serviio-console.bat. I didn't try to stream something yet.

I have created an issue for this: https://bitbucket.org/xnejp03/serviio/issue/842

Also, running ServiioConsole.exe or the service aborts with "No valid JRE found ... Please install a 32-bit JRE or JDK." Does it mean that 64-bit Java is not supported?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Jan 17, 2015 4:56 pm

Re: Install Serviio 1.5 on Windows without bundled Java

ah yes. the bundled in 32bits. the exe wrappers need either 32 or 64, this one supports 32 bit only

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 89 guests

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