Page 1 of 1

Use 32bit java instead of 64bit?

PostPosted: Mon Dec 17, 2012 5:03 pm
by alan93
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.

Re: Use 32bit java instead of 64bit?

PostPosted: Mon Dec 17, 2012 11:32 pm
by zip
You can use serviio.bat instead of the service.

Re: Use 32bit java instead of 64bit?

PostPosted: Fri Dec 21, 2012 3:28 pm
by alan93
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?

Re: Use 32bit java instead of 64bit?

PostPosted: Fri Dec 21, 2012 3:37 pm
by zip
put serviio.bat into the Startup folder

Re: Use 32bit java instead of 64bit?

PostPosted: Fri Dec 21, 2012 9:43 pm
by alan93
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.

Re: Use 32bit java instead of 64bit?

PostPosted: Fri Dec 28, 2012 6:55 pm
by alan93
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?

Re: Use 32bit java instead of 64bit?

PostPosted: Sat Dec 29, 2012 12:17 am
by zip
I assume they could, create a new .bat to run the two with a pause between them

Re: Use 32bit java instead of 64bit?

PostPosted: Fri Jan 04, 2013 2:54 am
by alan93
Not sure how to do that, are there any examples on here?

Re: Use 32bit java instead of 64bit?

PostPosted: Fri Jan 04, 2013 8:16 pm
by khurram23
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

Re: Use 32bit java instead of 64bit?

PostPosted: Sat Jan 05, 2013 7:49 pm
by alan93
Thanks , i understand all the commands just didn't know the exact syntax.