Page 1 of 2

Win7 64bit, Java 8 64bit - Console won't start anymore

PostPosted: Thu Apr 02, 2015 5:33 pm
by skyhy
Hey community,

I have an issue with my serviio console.
It won't start anymore. Server is running fine, but since I updated to Java 8, I can't start the console anymore... It's not even appearing in this little window beside the clock in the lower right corner (sorry, but I don't know the english word for it ^^).
If I try to start the console, nothing happens...

I'm using Win 7 64bit and Java 8 (u31).

If you need more info (I bet you will ^^), please tell me!

Thanks in advance!

Re: Win7 64bit, Java 8 64bit - Console won't start anymore

PostPosted: Thu Apr 02, 2015 6:06 pm
by zip
What version of Serviio?

Re: Win7 64bit, Java 8 64bit - Console won't start anymore

PostPosted: Thu Apr 02, 2015 7:04 pm
by skyhy
Sorry, I forgot one of the most important infos... :oops: ^^
The actual 1.5.1

Re: Win7 64bit, Java 8 64bit - Console won't start anymore

PostPosted: Thu Apr 02, 2015 10:42 pm
by zip
That doesn't use the system java anymore. So any java update should have no effect.

Re: Win7 64bit, Java 8 64bit - Console won't start anymore

PostPosted: Sat Apr 04, 2015 4:03 pm
by skyhy
OK, so what could be the reason for my Problem then?

Re: Win7 64bit, Java 8 64bit - Console won't start anymore

PostPosted: Thu Apr 09, 2015 5:06 am
by skyhy
Really, no suggestions?

Re: Win7 64bit, Java 8 64bit - Console won't start anymore

PostPosted: Thu Apr 09, 2015 8:45 am
by zip
Can you try 1.5.2 ?

Re: Win7 64bit, Java 8 64bit - Console won't start anymore

PostPosted: Thu Apr 09, 2015 12:12 pm
by skyhy
Oh... new version...
Of course! ^^

Re: Win7 64bit, Java 8 64bit - Console won't start anymore

PostPosted: Fri Apr 10, 2015 9:02 am
by skyhy
nope, no changes!
Except the fact that the folders changed again...

btw. Do I have the possibility to change/delete some of the basic folders, which are given by the software?
I mean, if I turn on my TV and browse to "serviio" THOSE basic folders like "Movies", "Release year", "Producers" and so on...

Re: Win7 64bit, Java 8 64bit - Console won't start anymore

PostPosted: Fri Apr 10, 2015 2:50 pm
by atc98092
skyhy wrote:nope, no changes!
Except the fact that the folders changed again...

btw. Do I have the possibility to change/delete some of the basic folders, which are given by the software?
I mean, if I turn on my TV and browse to "serviio" THOSE basic folders like "Movies", "Release year", "Producers" and so on...


Those are all set on the Presentation tab of the console. You can turn them on or off as desired.

Re: Win7 64bit, Java 8 64bit - Console won't start anymore

PostPosted: Fri Apr 10, 2015 4:33 pm
by zip
Is the console really not starting, ie can you see it in Task Manager as a running application or process?

Re: Win7 64bit, Java 8 64bit - Console won't start anymore

PostPosted: Sun Apr 12, 2015 9:10 pm
by skyhy
atc98092 wrote:Those are all set on the Presentation tab of the console. You can turn them on or off as desired.

Thx!

zip wrote:Is the console really not starting, ie can you see it in Task Manager as a running application or process?

No, there's no "serviio"-process in my task manager.

Re: Win7 64bit, Java 8 64bit - Console won't start anymore

PostPosted: Mon Apr 13, 2015 9:05 pm
by zip
Does it start if you run it using ServiioConsole in the start menu?
If not, try serviio-console.bat in the serviio bin directory

Re: Win7 64bit, Java 8 64bit - Console won't start anymore

PostPosted: Wed Apr 15, 2015 5:29 am
by skyhy
No, like I already said in the starting post: If I try to start it, nothing happens!
I already tried to start it via the batch file but it doesn't work either. There's just this little DOS window popping up for a splitsecond but nothing else.
I also tried to start it as admin, but... :(

Do I have the possibility to prevent the DOS window from closing (maybe in line 17 of the batch file)?
Maybe it's helpful for you to know what exactly is happening, or NOT happening during the starting process... ;)

If I check the batch file I can find in line 11:
  Code:
SET JAVA=%JAVA_HOME%\bin\javaw

I know that serviio comes with its own jawa (as I can see in line 8), but this seems to be adressed to my installed jawa version... If so, could it be part of the problem, that I have installed the 32bit AND the 64 bit jawa version (so there are actually 2 different "%JAVA_HOME%\bin\javaw" on my computer)?

Sorry if I've got everything wrong, I just try to figure out whatever I can! ^^

Re: Win7 64bit, Java 8 64bit - Console won't start anymore

PostPosted: Wed Apr 15, 2015 11:46 am
by zip
It only falls back to system Java if the bundled one is not found

  Code:
SET JAVA=%SERVIIO_CONSOLE_HOME%\jre\bin\javaw.exe

IF EXIST "%JAVA%" GOTO JRE_SETUP
   SET JAVA=%JAVA_HOME%\bin\javaw

:JRE_SETUP   
   
SET START_COMMAND=start "" "%JAVA%"


To keep the window open, remove the 'start' from SET START_COMMAND

Re: Win7 64bit, Java 8 64bit - Console won't start anymore

PostPosted: Wed Apr 15, 2015 2:54 pm
by skyhy
SET START_COMMAND= "" "%JAVA%"
But the window won't stay open...

Re: Win7 64bit, Java 8 64bit - Console won't start anymore

PostPosted: Thu Apr 16, 2015 12:28 pm
by zip
run the bat file from another cmd window, rather than clicking on the icon

Re: Win7 64bit, Java 8 64bit - Console won't start anymore

PostPosted: Fri Apr 17, 2015 11:13 am
by skyhy
Still no response...
Doesn't matter if I open the cdm as an admin or not, and it also doesn't matter if I start the .exe or the. bat

If I try to reinstall serviio I will get an error message (could not create java virtual machine) but the installation will continue if I click "ok".

In my environmental variables (sorry if this is not the correct description, my Windows is not in english ;) ) I have the following settings for my Java:
"_JAVA_OPTIONS -Xincgc -Xms1024m -Xmx2048m"
Does this setting affect the serviio included Java?
Btw. I do have 8GB RAM but if I go for higher settings I will receive the java virtual machine thing (almost) all the time I want to start a Java Application.

Re: Win7 64bit, Java 8 64bit - Console won't start anymore

PostPosted: Mon Apr 20, 2015 12:35 pm
by zip
Does it keep the widow open though (via the bat file)? It perhaps fails to start the Java VM, so we need to see the error message in the terminal window.

Re: Win7 64bit, Java 8 64bit - Console won't start anymore

PostPosted: Tue Apr 21, 2015 11:01 am
by skyhy
Still nothing happens if I try to open it via smartctl or the usual cmd, even if I open the cmd as admin.
I can't even see that an additional window is opened/closed.
No error message in my cmd...