karakun / OpenWebStart

Run Web Start based applications after the release of Java 11
https://openwebstart.com
Other
419 stars 48 forks source link

Auto update doesn't "auto" update #497

Closed RubenKelevra closed 2 years ago

RubenKelevra commented 2 years ago

I'm a bit disappointed about the auto update functionality. I started a link to an application on my desktop which I haven't started in a while.

It's also the only application currently running through OpenWebStart.

While I have "daily" update checks and updates active, I had to:

Then nothing happened, so I needed to "restart" my application.

Then I had to:

java.lang.IllegalStateException: could not find any suitable runtime
    at com.openwebstart.launcher.OwsJvmLauncher.getLocalJavaRuntimeOrExit(OwsJvmLauncher.java:84)
    at com.openwebstart.launcher.OwsJvmLauncher.launchExternal(OwsJvmLauncher.java:135)
    at com.openwebstart.launcher.OwsJvmLauncher.launchExternal(OwsJvmLauncher.java:78)
    at net.sourceforge.jnlp.Launcher.launchExternal(Launcher.java:286)
    at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:367)
    at net.sourceforge.jnlp.Launcher.access$200(Launcher.java:71)
    at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:659)

... instead of a "connection lost, retrying" or something like this. So you need to have a stable internet connection, or you have to manually restart the download several times. In my case the notebook just suspended on its own - since OpenWebStart doesn't seem to tell windows that it's actively doing something which should prevent a standby.

I feel like there's some improvement potential:

Operating System: Windows 11 Application: JOSM

sclassen commented 2 years ago

Thank you for your feedback. Unfortunately the entire java web start is a deprecated technology. This means our funds are very limited and we cannot invest into improving the auto-update. The current implementation is an out of the box feature from install4j. If you think it can profit from an improvement then please contact the developers of install4j.