Use javaw.exe - that doesn't open the dos box.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.
Alternative Java Runtimes
- 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
-
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
Thanks quantumf! I forgot to add javaw.exe to the shortcut, because I do everything from command line while developing more often.
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.kivi wrote:Alternatively, I think you can use javaws.exe on cgoban.jnlp file, without the -jar option.