[Stable Update] 2022-05-13 - Kernels, Mesa, Nvidia, Gnome 42, PipeWire, LIbreOffice, KDE Gear & Frameworks, Virtualbox, Qemu 7.0

After the update I am experiencing problems starting JOSM, a Java application via .jnlp, console output giving me this:

[xxx@xxx ~]$ /usr/share/icedtea-web/bin/javaws "https://josm.openstreetmap.de/download/josm.jnlp"
selected jre: /usr/lib/jvm/default-runtime
Warning!, Fall back in resolve_jar to hardcoded paths: 
/usr/share/java/js.jar
WARNING: package sun.applet not in java.desktop
WARNING: package com.sun.net.ssl.internal.ssl not in java.base
WARNING: package javax.jnlp not in java.desktop
Exception in thread "main" java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
        at java.base/java.lang.System.setSecurityManager(System.java:416)
        at net.sourceforge.jnlp.runtime.JNLPRuntime.initialize(JNLPRuntime.java:268)
        at net.sourceforge.jnlp.runtime.Boot.init(Boot.java:353)
        at net.sourceforge.jnlp.runtime.JnlpBoot.run(JnlpBoot.java:58)
        at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:274)
        at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:63)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
        at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:214)

Update:

The issue applies only to java-18-openjdk, no problems with java-17-openjdk.

1 Like