FAQ  •  Register  •  Login

Use 32bit java instead of 64bit?

<<

alan93

Serviio lover

Posts: 58

Joined: Wed Jul 06, 2011 2:05 am

Post Mon Dec 17, 2012 5:03 pm

Use 32bit java instead of 64bit?

Is there a way to get serviio to use C:\Program Files (x86)\Java\jre7 when serviio is here:
C:\Program Files\Serviio

I am on win764bit but need to have java32 only.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Dec 17, 2012 11:32 pm

Re: Use 32bit java instead of 64bit?

You can use serviio.bat instead of the service.
<<

alan93

Serviio lover

Posts: 58

Joined: Wed Jul 06, 2011 2:05 am

Post Fri Dec 21, 2012 3:28 pm

Re: Use 32bit java instead of 64bit?

zip wrote:You can use serviio.bat instead of the service.


Ok but I have to run both serviio.bat and serviio-console.bat right?

How do I get this to start this way automatically on boot?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Dec 21, 2012 3:37 pm

Re: Use 32bit java instead of 64bit?

put serviio.bat into the Startup folder
<<

alan93

Serviio lover

Posts: 58

Joined: Wed Jul 06, 2011 2:05 am

Post Fri Dec 21, 2012 9:43 pm

Re: Use 32bit java instead of 64bit?

ok thanks and you forgot to mention that i needed to change the Java_home path in system variables to 32bit java but i figured that out.
<<

alan93

Serviio lover

Posts: 58

Joined: Wed Jul 06, 2011 2:05 am

Post Fri Dec 28, 2012 6:55 pm

Re: Use 32bit java instead of 64bit?

new problem it seems that in order for the console to show you need to run serviio-console.bat after serviio.bat.
So i guess there is no way to do this on boot?
Can the two bat files be combined?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Dec 29, 2012 12:17 am

Re: Use 32bit java instead of 64bit?

I assume they could, create a new .bat to run the two with a pause between them
<<

alan93

Serviio lover

Posts: 58

Joined: Wed Jul 06, 2011 2:05 am

Post Fri Jan 04, 2013 2:54 am

Re: Use 32bit java instead of 64bit?

Not sure how to do that, are there any examples on here?
<<

khurram23

Serviio lover

Posts: 76

Joined: Sun Jun 24, 2012 10:25 pm

Post Fri Jan 04, 2013 8:16 pm

Re: Use 32bit java instead of 64bit?

Try something like this:

Save this file as something.bat in the same folder as serviio.bat and add it to startup. You should manually test it first.

Sleep 30 means wait for 30 seconds before executing next command.

  Code:
@echo off
call serviio.bat
sleep 30
call serviio-console.bat
Dropbox - Get 500MB bonus space.

My pre-compiled FFMPEG, X264 packages for Linux/Ubuntu - Dropbox
<<

alan93

Serviio lover

Posts: 58

Joined: Wed Jul 06, 2011 2:05 am

Post Sat Jan 05, 2013 7:49 pm

Re: Use 32bit java instead of 64bit?

Thanks , i understand all the commands just didn't know the exact syntax.

Return to Serviio Support & Help

Who is online

Users browsing this forum: Google [Bot] and 149 guests

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