You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Applet API was deprecated for removal in Java 17, and will most likely be removed completely in Java 25. There are classes within OpenMap that utilize these APIs either directly or indirectly. Specifically, the Environment class imports and uses both java.applet.Applet and javax.swing.JApplet, which would cause an initialization error. Of course, the OpenMapApplet class utilizes the API, but would only be utilized in environments where a browser that supports the Java plugin exists.
In addition to the removal of the Applet API, the Security Manager was completely disabled in Java 24. This means that applets would not run in a sandboxed environment, allowing the applet to execute any arbitrary code in a browser that still supported the Java plugin.
Edit: the applet deployment tools (browser plugin, appletviewer, Java Web Start) were removed in Java 11, so even if using an old browser it would not be possible to launch an applet using any Java version >= 11.
Activity
jewellgm commentedon Apr 7, 2025
In addition to the removal of the Applet API, the Security Manager was completely disabled in Java 24. This means that applets would not run in a sandboxed environment, allowing the applet to execute any arbitrary code in a browser that still supported the Java plugin.
Edit: the applet deployment tools (browser plugin, appletviewer, Java Web Start) were removed in Java 11, so even if using an old browser it would not be possible to launch an applet using any Java version >= 11.