Skip to main content

Double App launch using 6u10 webstart

3 replies [Last post]
tdanecito
Offline
Joined: 2005-10-10
Points: 0

Hi All,

I have noticed that when a user updates to 6u10 from say 1.5.x_x that the application gets launched twice instead of once. After the install webstart only launches the application once.

Has anyone else seen that behavior? If so, is there a fix?

Thanks,
-Tony

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jeromeblouin
Offline
Joined: 2009-01-19
Points: 0

Hey, same issue here with my game!

Here is my post on forums.sun.com:

Hi,

I've ported my game to Java SE 6u11 concerning the deployment aspect. I use the deployment toolkit (deployJava.js). Pretty cool and useful feature! The issue with it is that it starts my game 2 times instead of 1. Note that the issue happens only when Java isn't installed and Java 6 gets installed in the process. I've used JWS for many years and never experienced this issue before. Here is the javascript code I use:
{code}

{code}

I host deployJava.js because I needed to have another copy that I modified to start the same game in French and I wanted to encapsulate the deployJava var so I renamed it deployJavaFr in the modified js file.

Here are my web start files:
game_main.jnlp:
{code}


Incredibuilder Extensions
Jerome Blouin
jar ressources











{code}

game.jnlp:
{code}


Incredibuilder! (c)
Jerome Blouin - http://freewebs.com/jeromeblouin

2D Action Puzzle Game














{code}

Try the game to see the issue at http://www.freewebs.com/jeromeblouin/
You'll need to uninstall all JRE that are 1.4.2 and higher.

Thanks!

juggler555
Offline
Joined: 2009-03-18
Points: 0

I have noticed the same thing in my JNLP application as well. I don't know why it does this. What I did notice though was that one copy of the app runs directly through the new plugin. The other seems to run through the browser. I know this because on one of my testing boxes, the browser is configured to ask me what to do with the .jnlp file. The default is to run it through webstart. If I click ok, this second copy of the application runs. Both copies of the app use the same 1.6.0_12 JVM. Why is this happening?

jeromeblouin
Offline
Joined: 2009-01-19
Points: 0

I don't know but it would be great if Sun investigate this. Without help from them, it's really hard to progress in this issue.