I had the same problem and was fixed by following commands 
(Running on Kubuntu 24.04)

Normal java command (this not allow freeplane to run):
java --version 
openjdk 21.0.7 2025-04-15
OpenJDK Runtime Environment (build 21.0.7+6-Ubuntu-0ubuntu124.04)
OpenJDK 64-Bit Server VM (build 21.0.7+6-Ubuntu-0ubuntu124.04, mixed mode, 
sharing)

And this was steps to run Freeplane on terminal (session) not system wide.
sudo apt install openjdk-11-jre
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
export PATH=$JAVA_HOME/bin:$PATH

And freeplane started normally

Hope that helps others to run - but not sure if freeplane will be
updated to never version of java.


IMPORTANT:
Of course this solution allows to run Freeplane.
But is uses old Java version which can be security risk. Worth to consider to 
run this in VirtualMachine or containers.

Please keep this in mind.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2034752

Title:
  broken with newer java

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freeplane/+bug/2034752/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to