FAQ  •  Register  •  Login

New install error:Please Define EXE4_JAVA_HOME

<<

zack832

Serviio newbie

Posts: 18

Joined: Sat Dec 26, 2009 9:10 pm

Post Sat Dec 26, 2009 9:14 pm

New install error:Please Define EXE4_JAVA_HOME

Came across a posting that Serviio works with the Samsung DNLA TV's, and hating the Samsung server I decided to try Serviio. I'm running Win 7 on a 64 bit platform. I updated Java, and it is installed correctly. Every time I click on Serviio I get an error message, and I have no idea how to define where Java is since I never get to the console.

Help!!!
<<

zack832

Serviio newbie

Posts: 18

Joined: Sat Dec 26, 2009 9:10 pm

Post Sat Dec 26, 2009 11:36 pm

Re: New install error:Please Define EXE4_JAVA_HOME

Just an update, the server is apparently running, Serviio shows up on my Samsung TV. However no matter what I do I can't get into the console.....
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Dec 27, 2009 10:49 am

Re: New install error:Please Define EXE4_JAVA_HOME

Check that the Windows service is running.
Then you can run the console by either executing ServiioConsole.exe (which runs as a part of Windows start), but this seems to cause you troubles. There is also a serviio-console.bat file, try that instead of the .exe.

Setting an environment variable JAVA_HOME pointing to your Java installation location (something like: c:\Program Files\Java\jre1.6.0_07\ ) should also solve the problem.
<<

SiegeX

Streaming enthusiast

Posts: 29

Joined: Thu Dec 03, 2009 6:21 am

Post Sun Dec 27, 2009 8:38 pm

Re: New install error:Please Define EXE4_JAVA_HOME

I got that same error as well on 64bit Windows7. Find and install the 64bit JDk, it's called jdk-6u17-windows-x64.exe. That fixed the error right up.
<<

zack832

Serviio newbie

Posts: 18

Joined: Sat Dec 26, 2009 9:10 pm

Post Thu Dec 31, 2009 7:29 am

Re: New install error:Please Define EXE4_JAVA_HOME

Thanks, I'll try that. The program has been working but I have to click on each file in the.bat folder to get it to run. I rarely reboot so once it's up and running I'm good. I'm downloading the java program now, I'll run it and see how well it works....
<<

zack832

Serviio newbie

Posts: 18

Joined: Sat Dec 26, 2009 9:10 pm

Post Sun Jan 03, 2010 12:12 am

Re: New install error:Please Define EXE4_JAVA_HOME

Thanks all, it's working fine now...
<<

philokokus

Streaming enthusiast

Posts: 34

Joined: Sun May 02, 2010 8:56 am

Post Sun May 02, 2010 8:59 am

Re: New install error:Please Define EXE4_JAVA_HOME

SiegeX wrote:I got that same error as well on 64bit Windows7. Find and install the 64bit JDk, it's called jdk-6u17-windows-x64.exe. That fixed the error right up.


Hi
I am new to all this. I have installed it but still the consolo can't find it.
Any Help Please.

Best Regards
Jose
<<

philokokus

Streaming enthusiast

Posts: 34

Joined: Sun May 02, 2010 8:56 am

Post Wed May 05, 2010 5:39 pm

Re: New install error:Please Define EXE4_JAVA_HOME

zip wrote: Setting an environment variable JAVA_HOME pointing to your Java installation location (something like: c:\Program Files\Java\jre1.6.0_07\ ) should also solve the problem.


how do I do that?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed May 05, 2010 9:18 pm

Re: New install error:Please Define EXE4_JAVA_HOME

Do you have 64bit Windows? Try uninstalling all Java you have on your PC and installing the 64bit again. If it doesn't work, uninstall the 64bit java and try to install 32bit Java instead.
<<

philokokus

Streaming enthusiast

Posts: 34

Joined: Sun May 02, 2010 8:56 am

Post Sat May 08, 2010 2:55 pm

Re: New install error:Please Define EXE4_JAVA_HOME

zip wrote:Do you have 64bit Windows? Try uninstalling all Java you have on your PC and installing the 64bit again. If it doesn't work, uninstall the 64bit java and try to install 32bit Java instead.


Done that but still not working.
I have a 64bit window7

Tks
<<

fizze

Serviio lover

Posts: 88

Joined: Wed Dec 02, 2009 8:27 am

Location: Austria

Post Sat May 08, 2010 4:23 pm

Re: New install error:Please Define EXE4_JAVA_HOME

Just install the 32bit Java Runtime and you should be fine. Be sure to get rid of the 64bit stuff first.
That did the trick on my win7 x64.
Intel SS4200 - Ubuntu Server 8.04
LG BD - 390
<<

gismo31

Serviio newbie

Posts: 6

Joined: Wed May 19, 2010 10:02 am

Post Wed May 19, 2010 10:08 am

Re: New install error:Please Define EXE4_JAVA_HOME

hi, i've got the same problem ! i tried to install several times the JAVA program but no way ... I'm using windows 7 64 bit. PS3 media player works so javi is installed. any help ?
<<

gismo31

Serviio newbie

Posts: 6

Joined: Wed May 19, 2010 10:02 am

Post Fri Jun 04, 2010 7:02 am

Re: New install error:Please Define EXE4_JAVA_HOME

still not solved with the 0.4 version : when i install, servia says : no java and it installs java after dowlonading. then it says program installed. when i run servio, i still got the same error message :o :twisted: :evil:

when i go on java.com, and check if java is installed : Version 6 Update 20 installed ???

please help !!!
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Jun 04, 2010 8:18 am

Re: New install error:Please Define EXE4_JAVA_HOME

I'll look into it a bit more. In the meantime you can use the .bat files located in the bin directory instead of the .exe (I presume for both, server and console).
<<

gismo31

Serviio newbie

Posts: 6

Joined: Wed May 19, 2010 10:02 am

Post Sat Jun 05, 2010 12:22 pm

Re: New install error:Please Define EXE4_JAVA_HOME

hi, thanks for the answer. servio.bat doesnt work either : it says javaw not found. ps3mediaplayer works and is also based on java. I'm using windows 7 64 bit.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Jun 05, 2010 4:32 pm

Re: New install error:Please Define EXE4_JAVA_HOME

Create environment variable JAVA_HOME pointing to your java installation directory, mine is

  Code:
C:\Program Files\Java\jdk1.6.0_18\


and restart your PC. If you want the .bat to work you have to add the variable to your PATH environment variable, e.g.

  Code:
...existing path entires...;%JAVA_HOME%\bin
<<

gismo31

Serviio newbie

Posts: 6

Joined: Wed May 19, 2010 10:02 am

Post Sun Jun 06, 2010 5:32 am

Re: New install error:Please Define EXE4_JAVA_HOME

hi, javaw is located in C:\Program Files (x86)\Java\jre6\bin

can you please explain how i can Create environment variable JAVA_HOME pointing to your java installation directory, and add the path to servio.bat ? i'm not goog at this stuff.
<<

Sopmod

Serviio newbie

Posts: 2

Joined: Sun Jun 06, 2010 6:14 am

Post Sun Jun 06, 2010 6:21 am

Re: New install error:Please Define EXE4_JAVA_HOME

gismo31 wrote:
can you please explain how i can Create environment variable JAVA_HOME pointing to your java installation directory, and add the path to servio.bat ? i'm not goog at this stuff.



Hey there, I added:

SET PATH=C:\Program Files (x86)\Java\jre6\bin
SET JAVA_HOME=C:\Program Files (x86)\Java\jre6\bin

to the top of my *.bat files as the second and third entries in the files. Like this:

--------------------------------------------------------------------
@echo off

SET PATH=C:\Program Files (x86)\Java\jre6\bin
SET JAVA_HOME=C:\Program Files (x86)\Java\jre6\bin

set BATCH_FILE=%~dp0

*Rest of the file*
--------------------------------------------------------------------

Now it works and I can try Serviio.

To the developer. You HAVE to make installation a no brainer. It must just work. This is a major requirement to get right regardless of the maturity of the software. Non technical people just will not try to solve these issues and you'll lose a user base member.
<<

gismo31

Serviio newbie

Posts: 6

Joined: Wed May 19, 2010 10:02 am

Post Sun Jun 06, 2010 9:26 am

Re: New install error:Please Define EXE4_JAVA_HOME

yippie this works !!! thanks alot :D :D :D

i've to select servioconsole.bat to make it work ( *.exe doenst work ) but great news !

i hope the developper will change this soon !
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Jun 06, 2010 12:34 pm

Re: New install error:Please Define EXE4_JAVA_HOME

If you add it to the .bat it will not work with the .exe. You should add it to your Windows env variables, like this (this is for WIndows 7): http://www.itechtalk.com/thread3595.html

This problem doesn't appear for most users, for some reason the Java installation doesn't register itself properly for some of you guys.
Next

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 93 guests

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