Alternative Java Runtimes

Comments, questions, rants, etc, that are specifically about KGS go here.
User avatar
quantumf
Lives in sente
Posts: 844
Joined: Tue Apr 20, 2010 11:36 pm
Rank: 3d
GD Posts: 422
KGS: komi
Has thanked: 180 times
Been thanked: 151 times

Re: Alternative Java Runtimes

Post 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.
kivi
Lives with ko
Posts: 159
Joined: Mon Mar 21, 2011 7:14 am
Rank: EGF 3d
GD Posts: 0
Has thanked: 5 times
Been thanked: 36 times

Re: Alternative Java Runtimes

Post by kivi »

Alternatively, I think you can use javaws.exe on cgoban.jnlp file, without the -jar option.
levelonedev
Beginner
Posts: 8
Joined: Wed Feb 26, 2014 11:13 am
Rank: KGS 10 kyu
GD Posts: 0
KGS: Level1Dev
OGS: LevelOneDev
Online playing schedule: Whenever.
Been thanked: 2 times
Contact:

Re: Alternative Java Runtimes

Post 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.
Post Reply