Package Details: freemind 1.0.1-5

Git Clone URL: https://aur.archlinux.org/freemind.git (read-only, click to copy)
Package Base: freemind
Description: A Java mindmapping tool
Upstream URL: https://sourceforge.net/projects/freemind
Licenses: GPL
Submitter: Dragonlord
Maintainer: GhostyLNX
Last Packager: Dragonlord
Votes: 5
Popularity: 0.000150
First Submitted: 2022-02-05 17:25 (UTC)
Last Updated: 2022-02-05 17:25 (UTC)

Dependencies (4)

Required by (1)

Sources (2)

Latest Comments

sinbud2004 commented on 2024-01-12 03:14 (UTC) (edited on 2024-01-12 03:21 (UTC) by sinbud2004)

I have tested many situations. For example, Dbeaver requires >java-17-openjdk to run, but freemind requires java-11-openjdk to run. I have installed both sudo pacman -S jre11-openjdk jre17-openjdk . I just need to write a switch for one of them.

freemind.sh

#!/usr/bin/bash
sudo archlinux-java set java-11-openjdk
freemind %U
sudo archlinux-java set java-17-openjdk

In this way, when you run freemind, you will switch to the environment it needs. It should be noted (1) Freemind and Dbeaver cannot run at the same time. (2) Sudoer needs to be set to user without password.

butla commented on 2023-03-03 15:17 (UTC) (edited on 2023-03-03 15:17 (UTC) by butla)

I was getting an error like this on Manjaro:

java.io.FileNotFoundException: /home/butla/.freemind/auto.properties (No such file or directory)
        at java.base/java.io.FileInputStream.open0(Native Method)
        at java.base/java.io.FileInputStream.open(FileInputStream.java:216)
        at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
        at freemind.main.FreeMindStarter.readUsersPreferences(FreeMindStarter.java:165)
        at freemind.main.FreeMindStarter.main(FreeMindStarter.java:59)
Panic! Error while loading default properties.
Exception in thread "main" java.lang.reflect.InaccessibleObjectException: Unable to make field private static java.lang.String sun.awt.X11.XToolkit.awtAppClassName accessible: module java.desktop does not "opens sun.awt.X11" to unnamed module @731a74c
        at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
        at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
        at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:178)
        at java.base/java.lang.reflect.Field.setAccessible(Field.java:172)
        at freemind.main.FreeMindStarter.main(FreeMindStarter.java:72)

Anyways, I've noticed that Freemind has a successor fork - Freeplane - which is available in the community repos, so I switched to that.

It also needed a tweak to pick a Java runtime different from the latest, though:

sudo pacman -Sy jre17-openjdk
sudo archlinux-java set java-17-openjdk

Andrei_Korshikov commented on 2022-12-07 15:06 (UTC)

Christian Foltin (the author of software) adapted code to compile and run with java17, but for version 1.1.0 only. Stable version (1.0.1) perfectly runs with jre11-openjdk. Java SE 11 is LTS release, so I believe it's OK. To run freemind with non-default java version one can use simple command: env JAVA_HOME=/usr/lib/jvm/java-11-openjdk freemind

GhostyLNX commented on 2022-06-10 10:00 (UTC)

@theRedCyclops Thank you for letting me know. This is an issue of the precompiled freemind package. Sadly it hasn't been maintained for the last 8 or so years. For now, I advise to use a JRE with version 8. That is the LTS version of java and will definitely work with freemind. I'll try to make my own freemind binaries that are compatible with newer versions of java, but that will take some time to properly do. So please stay patient. :)

theRedCyclops commented on 2022-06-09 17:06 (UTC)

this package is currently broken on the latest java release