Package: freeplane
Version: 1.7.10-2
Severity: important
freeplane always crashes when running with openjdk-25-jre or openjdk-26-jre,
running with:
env JAVA_HOME=/usr/lib/jvm/java-25-openjdk-amd64 freeplane
env JAVA_HOME=/usr/lib/jvm/java-26-openjdk-amd64 freeplane
The exception is:
java.lang.UnsupportedOperationException: Setting a system-wide Policy object is
not supported
at java.base/java.security.Policy.setPolicy(Policy.java:114)
at
org.freeplane.plugin.script.ScriptingPolicy.installRestrictingPolicy(ScriptingPolicy.java:112)
at
org.freeplane.plugin.script.ScriptingRegistration.register(ScriptingRegistration.java:184)
at
org.freeplane.plugin.script.ScriptingRegistration.<init>(ScriptingRegistration.java:142)
at
org.freeplane.plugin.script.Activator$1.installExtension(Activator.java:26)
at
org.freeplane.main.osgi.ActivatorImpl$OsgiExtentionInstaller.installExtensions(ActivatorImpl.java:280)
at
org.freeplane.main.osgi.ActivatorImpl.installControllerExtensions(ActivatorImpl.java:296)
at
org.freeplane.main.osgi.ActivatorImpl.startFramework(ActivatorImpl.java:215)
at org.freeplane.main.osgi.ActivatorImpl.start(ActivatorImpl.java:109)
at org.freeplane.main.osgi.Activator.start(Activator.java:35)
at org.knopflerfish.framework.BundleImpl.start0(BundleImpl.java:386)
at org.knopflerfish.framework.BundleThread.run(BundleThread.java:145)
Newer upstream version 1.13.x won't fix this. It looks like that Freeplane uses
the obsolete Java security manager, so even the latest freeplane doesn't run
with Java 24 or later.
(https://github.com/freeplane/freeplane/discussions/2124)
-- Package-specific info:
[debug] /usr/bin/freeplane: Found JAVA_HOME =
'/usr/lib/jvm/java-25-openjdk-amd64'
[debug] /usr/bin/freeplane: Found JAVA_CMD =
'/usr/lib/jvm/java-25-openjdk-amd64/bin/java'
DEBUG: Freeplane parameters are ''.
DEBUG: Linux calcium 6.18.10+deb14-amd64 #1 SMP PREEMPT_DYNAMIC Debian
6.18.10-1 (2026-02-13) x86_64 GNU/Linux
DEBUG: Distributor ID: Debian
Description: Debian GNU/Linux forky/sid
Release: n/a
Codename: forky
DEBUG: The following DEB packages are installed:
ii freeplane 1.7.10-2
all Java program for working with Mind Maps
DEBUG: Link '/usr/bin/freeplane' resolved to
'/usr/share/freeplane/freeplane.sh'.
DEBUG: Freeplane Directory is '/usr/share/freeplane'.
DEBUG: Calling: /usr/lib/jvm/java-25-openjdk-amd64/bin/java
-Xmx512m
-Dorg.freeplane.basedirectory=/usr/share/freeplane
-Dorg.freeplane.userfpdir=/home/changwoo/.config/freeplane
-Dorg.freeplane.old_userfpdir=/home/changwoo/.freeplane
-Dorg.freeplane.globalresourcedir=/usr/share/freeplane/resources
-Dswing.systemlaf=javax.swing.plaf.metal.MetalLookAndFeel
-Dorg.freeplane.os.lib.ext=/usr/share/java
-Dawt.useSystemAAFontSettings=on
-Dswing.aatext=true
-Dgnu.java.awt.peer.gtk.Graphics=Graphics2D
-Dorg.freeplane.main.application.FreeplaneSecurityManager.disable=true
-jar
/usr/share/freeplane/freeplanelauncher.jar
-- System Information:
Debian Release: forky/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.18.10+deb14-amd64 (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=ko_KR.UTF-8, LC_CTYPE=ko_KR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages freeplane depends on:
ii darcula 2018.2-3
ii default-jre [java8-runtime] 2:1.21-76
ii groovy 2.4.21-10
ii ivy 2.5.3-1
ii javahelp2 2.0.05.ds1-10
ii jmapviewer 2.25+dfsg-1
ii libavalon-framework-java 4.2.0+ds-1
ii libbatik-java 1.18+dfsg-2
ii libcommons-codec-java 1.18.0-1
ii libcommons-io-java 2.19.0-1
ii libcommons-lang-java 2.6-12
ii libcommons-logging-java 1.3.0-2
ii libdata-url-java 1.0.1-2
ii libfop-java 1:2.10+dfsg-2
ii libiconloader-java 0.0+git20170615+dfsg1-2
ii libidw-java 1.6.1-2
ii libjaxp1.3-java 1.3.05-6
ii libjgoodies-forms-java 1.9.0-4
ii libjlatexmath-java 1.0.7-4
ii libjsyntaxpane-java 0.9.6~r156-7.1
ii libknopflerfish-osgi-framework-java 6.1.1-4
ii libmnemonicsetter-java 0.6-1
ii librhino-java 1.7.15-1
ii libsvgsalamander-java 1.1.4-1
ii libxerces2-java 2.12.2-1
ii libxml-commons-external-java 1.4.01-6
ii libxmlgraphics-commons-java 2.11-1
ii openjdk-17-jre [java8-runtime] 17.0.18+8-1
ii openjdk-21-jre [java8-runtime] 21.0.10+7-1
ii openjdk-8-jre [java8-runtime] 8u472-ga-1
ii simplyhtml 0.17.3+dfsg1-1.1
Versions of packages freeplane recommends:
ii java-wrappers 0.5
ii xdg-utils 1.2.1-2
Versions of packages freeplane suggests:
pn freeplane-scripting-api <none>
-- no debconf information
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
Please use
[email protected] for discussions and questions.