Page 2 of 2

Re: Alternative Java Runtimes

Posted: Mon May 12, 2014 12:27 pm
by quantumf
Toge wrote:I put shortcut target as follows:
"C:\Program Files\Java\jre6\bin\java.exe" -Dsun.sound.useNewAudioEngine="false" "C:\Program Files\KGS\cgoban.jar"

It flashes a dos box and ends without launching CGoban.

Edit: I forgot -jar in the middle. Now it keeps that annoying dos box open and also opens CGoban. If I close the box CGoban closes too.


Use javaw.exe - that doesn't open the dos box.

Re: Alternative Java Runtimes

Posted: Mon May 12, 2014 12:34 pm
by kivi
Alternatively, I think you can use javaws.exe on cgoban.jnlp file, without the -jar option.

Re: Alternative Java Runtimes

Posted: Tue May 13, 2014 1:48 am
by levelonedev
Thanks quantumf! I forgot to add javaw.exe to the shortcut, because I do everything from command line while developing more often.

kivi wrote:Alternatively, I think you can use javaws.exe on cgoban.jnlp file, without the -jar option.


I remember fixing this on my Desktop and having problems with javaws "fixing" my shortcut on the desktop and I ended up on Java 7 again anyways. I could be wrong but I seem to remember there being problems using javaws and the shortcut remaining relevant.