Package Details: freemind-bin 1.0.1-1

Git Clone URL: https://aur.archlinux.org/freemind-bin.git (read-only, click to copy)
Package Base: freemind-bin
Description: A mind mapper, and a hierarchical editor with strong emphasis on folding
Upstream URL: https://freemind.sourceforge.io/wiki/
Licenses: GPL-2.0-or-later
Conflicts: freemind
Provides: freemind
Replaces: freemind
Submitter: Andrei_Korshikov
Maintainer: Andrei_Korshikov
Last Packager: Andrei_Korshikov
Votes: 5
Popularity: 0.117058
First Submitted: 2024-09-05 06:50 (UTC)
Last Updated: 2024-09-25 22:03 (UTC)

Dependencies (4)

Required by (1)

Sources (3)

Pinned Comments

Andrei_Korshikov commented on 2022-12-07 15:06 (UTC) (edited on 2024-09-26 19:31 (UTC) by Andrei_Korshikov)

  • FreeMind runs on Java 8 and 11, and does not run on Java 17 and above. To run freemind with non-default Java version you can use simple command like so: env JAVA_HOME=/usr/lib/jvm/java-11-openjdk freemind

  • The package repository is mirrored to Codeberg and GitHub.

Latest Comments

Andrei_Korshikov commented on 2024-04-07 21:07 (UTC)

@dreieck Thank you for your suggestions. I will create -bin package with suggested changes and request merging.

@sinbud2004 I still think that env JAVA_HOME=... freemind is better approach. No need to sudo, no system-wide changes (other programs are unaffected).

@butla The same problem and the same solution. Use java-11, not java-17. I think, I will change the package to use Java 11 explicitly.

dreieck commented on 2024-03-07 14:12 (UTC) (edited on 2024-03-07 14:19 (UTC) by dreieck)

This package should be renamed to freemind-bin since you do not build from Java sources.

With renaming, also provides=("freemind=${pkgver}"), conflicts=("freemind"), `replaces=("freemind<=1.0.1") should be added.

Regards and thanks for maintaining!

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) (edited on 2024-09-26 19:31 (UTC) by Andrei_Korshikov)

  • FreeMind runs on Java 8 and 11, and does not run on Java 17 and above. To run freemind with non-default Java version you can use simple command like so: env JAVA_HOME=/usr/lib/jvm/java-11-openjdk freemind

  • The package repository is mirrored to Codeberg and GitHub.

<deleted-account> 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