Opened 5 years ago
Last modified 5 years ago
#20033 closed defect
MacOS app doesn't launch on first run — at Version 6
| Reported by: | Stereo | Owned by: | Stereo |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Installer MacOS | Version: | latest |
| Keywords: | macos javabug othersoftware | Cc: |
Description (last modified by )
When opening a quarantined app for the first time, macOS 10.15 and earlier passes an extra -psn_0_XXX argument, where XXX is the process serial number. This is a legacy behaviour from the days of the Carbon framework and collaborative multitasking.
This means that with the new builds, JOSM.app will close on its first run, and run fine on every subsequent run.
This has been reported as a java bug (https://bugs.openjdk.java.net/browse/JDK-8240877). In the meanwhile, you might have to open JOSM twice after installing it.
A workaround could be to ignore the -p argument.
The problem doesn't happen in macOS Big Sur (11.0.1).
Change History (6)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
| Owner: | changed from to |
|---|---|
| Status: | assigned → new |
comment:4 by , 5 years ago
| Description: | modified (diff) |
|---|
comment:6 by , 5 years ago
| Description: | modified (diff) |
|---|



An example argument is
-psn_0_10615327. JOSM then dies withJOSM: unrecognised option '-p'This was, as you can imagine, a lot of fun to debug :). Thomas Skowron and Vincent Privat helped me out a lot.