#11751 closed defect (fixed)
[Patch] JOSM JNLP doesn't restart in Linux
Reported by: | Sylve | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 15.08 |
Component: | Core restart | Version: | latest |
Keywords: | Linux debian icedtea webstart jnlp | Cc: |
Description
Hi,
My JOSM seems to not restart. I use the josm.jnlp version, on Debian Jessie (Linux). I start JOSM with the command: javaws ~/OpenStreetMap/josm.jnlp
When I restart JOSM, I get this message in the command line:
And JOSM do not restart.
Regards,
Sylve
Attachments (1)
Change History (8)
comment:1 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:2 by , 9 years ago
Sorry for the mistake.
What steps will reproduce the problem?
- Start JOSM JNLP version with
javaws josm.jnlp
command. - Restart JOSM with Files --> Restart.
What is the expected result?
JOSM should restart.
What happens instead?
JOSM do not restart.
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2015-06-16 21:45:58 Last Changed Author: Don-vip Revision: 8491 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Relative URL: ^/trunk URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2015-06-16 23:27:08 +0200 (Tue, 16 Jun 2015) Last Changed Rev: 8491 Identification: JOSM/1.5 (8491 fr) Linux Debian GNU/Linux 8.1 (jessie) Memory Usage: 94 MB / 1753 MB (53 MB allocated, but free) Java version: 1.7.0_79, Oracle Corporation, OpenJDK 64-Bit Server VM Java package: openjdk-7-jre:amd64-7u79-2.5.6-1~deb8u1 WebStart package: icedtea-netx:amd64-1.5-2+deb8u1 VM arguments: [-Dicedtea-web.bin.name=javaws, -Dicedtea-web.bin.location=/usr/bin/javaws, -Djava.security.manager, -Djava.security.policy=/etc/icedtea-web/javaws.policy]
Regards,
Sylve
comment:3 by , 9 years ago
Keywords: | debian icedtea webstart jnlp added |
---|---|
Owner: | changed from | to
Status: | needinfo → new |
by , 9 years ago
Attachment: | 11751.patch added |
---|
comment:4 by , 9 years ago
Milestone: | → 15.09 |
---|---|
Summary: | JOSM JNLP doesn't restart in Linux → [Patch] JOSM JNLP doesn't restart in Linux |
I can confirm this issue (Arch Linux). Patch attached w/ refactoring of the restart logic plus fix for this issue. The main part of the fix is the test for …
(System.getProperty("sun.java.command").endsWith(".jnlp") && jnlp == null)
comment:5 by , 9 years ago
Milestone: | 15.09 → 15.08 |
---|
comment:7 by , 9 years ago
Thanks for the patch! We'll finally have a robust implementation of restarting a Java application :)
Can you please attach your status report as asked on newticket?