Package Details: freeplane 1.6.7-1

Git Clone URL: https://aur.archlinux.org/freeplane.git (read-only)
Package Base: freeplane
Description: A Java mindmapping tool
Upstream URL: http://freeplane.sourceforge.net
Licenses: GPL
Submitter: scrawler
Maintainer: artafinde
Last Packager: artafinde
Votes: 114
Popularity: 2.370330
First Submitted: 2010-03-10 03:02
Last Updated: 2017-10-01 08:32

Latest Comments

artafinde commented on 2017-10-13 13:27

@chrpinedo: My changes are now merged and would be part of 1.6.9 incoming release (just released in github.com https://github.com/freeplane/freeplane/releases). You could use the freeplane-git on aur if you want to test it with JDK 7.

artafinde commented on 2017-10-12 17:22

@chrpinedo: I complretly agree with you on the requirements. The problem is though that I'm using the requirements of what freeplane have on the site and it is suppose to be Java 7. They messed up - I've raised a ticket in Github for it and I've raised a Pull Request to fix it - they just need to accept it and merge. I will test the suggestion about java-runtime instead of java-environment - cheers.

chrpinedo commented on 2017-10-12 17:03

@artafinde: Yes I upgraded to Java 8 and now it works right.

However, I think you should fix the dependencies of your AUR Package, because Java 7 is installed because of the dependencies of the package.

pacaur -S freeplane
:: Package freeplane not found in repositories, trying AUR...
:: resolving dependencies...
:: looking for inter-conflicts...

AUR Packages (1) freeplane-1.6.7-1
Repo Packages (2) java-environment-common-3-1 jdk7-openjdk-7.u151_2.6.11-1

Repo Download Size: 0.00 MiB
Repo Installed Size: 19.56 MiB

Your dependencies are:

Repository : aur
Name : freeplane
Version : 1.6.7-1
Description : A Java mindmapping tool
...
Depends on : java-environment desktop-file-utils

Perhaps you should update the dependencies of the package with "java-environment>7" (JDK8 or JDK9) or "java-environment=8" (only JDK8).

Furthermore, you might consider select as dependency "java-runtime" (java-runtime>7 or java-runtime=9) instead of "java-environment" because JRE should be sufficient to run Freeplane and JDK should not be required.

Best regards and thank you for your job!!

Christian

artafinde commented on 2017-10-09 07:11

@chrpinedo: True I was able to replicate it with using JDK7 from AUR. Is there an option for you to upgrade to JDK8 (or even 9)? Otherwise you'll need to open a ticket upstream.

chrpinedo commented on 2017-10-08 20:37

I can't launch freeplane. I get the following error:

$ freeplane
org.knopflerfish.framework.readonly=true
org.knopflerfish.gosg.jars=reference:file:/usr/share/freeplane/core/
org.freeplane.user.dir=/home/zako
org.freeplane.basedirectory=/usr/share/freeplane
java.security.policy=/usr/share/freeplane/freeplane.policy
org.osgi.framework.storage=/usr/share/freeplane/fwdir
Knopflerfish OSGi framework launcher, version <unknown>
Copyright 2003-2017 Knopflerfish. All Rights Reserved.
See http://www.knopflerfish.org for more information.

Created Framework: org.knopflerfish.framework, version=8.0.4.
User properties not found, new file created
Installed: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.bugreport (id#2)
Installed: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.formula (id#3)
Installed: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.jsyntaxpane (id#4)
Installed: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.latex (id#5)
Installed: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.openmaps (id#6)
Installed: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.script (id#7)
Installed: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.svg (id#8)
Started: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.bugreport (id#2)
Started: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.formula (id#3)
Started: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.jsyntaxpane (id#4)
Started: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.latex (id#5)
Started: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.openmaps (id#6)
Started: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.script (id#7)
Started: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.svg (id#8)
Oct 08, 2017 10:34:40 PM org.freeplane.core.util.LogUtils info
INFO: language resources for eu found
Oct 08, 2017 10:34:41 PM org.freeplane.core.util.LogUtils info
INFO: freeplane_version = 1.6.7; freeplane_xml_version = freeplane 1.6.0
git revision = a51dc03bcd0dc661aace9bfb7f83e7f66eccc133 Dimitry Polivaev 2017-09-23T14:40:22Z
java_version = 1.7.0_151; os_name = Linux; os_version = 4.13.4-1-ARCH

STDERR: java.lang.NoSuchMethodError: java.util.Properties.remove(Ljava/lang/Object;Ljava/lang/Object;)Z
STDERR: at org.freeplane.features.ui.FrameController.setLookAndFeel(FrameController.java:554)
STDERR: at org.freeplane.main.application.FreeplaneGUIStarter.createController(FreeplaneGUIStarter.java:175)
STDERR: at org.freeplane.main.osgi.ActivatorImpl.startFramework(ActivatorImpl.java:183)
STDERR: at org.freeplane.main.osgi.ActivatorImpl.start(ActivatorImpl.java:84)
STDERR: at org.freeplane.main.osgi.Activator.start(Activator.java:36)
STDERR: at org.knopflerfish.framework.BundleImpl.start0(BundleImpl.java:386)
STDERR: at org.knopflerfish.framework.BundleThread.run(BundleThread.java:145)
STDERR: ## DEBUG: errors - FrameworkErrorEvent bundle #1
STDERR: ## DEBUG: errors - FrameworkErrorEvent throwable:
STDERR: org.osgi.framework.BundleException: Bundle#1 start failed
STDERR: at org.knopflerfish.framework.BundleImpl.start0(BundleImpl.java:420)
STDERR: at org.knopflerfish.framework.BundleThread.run(BundleThread.java:145)
STDERR: Caused by: java.lang.NoSuchMethodError: java.util.Properties.remove(Ljava/lang/Object;Ljava/lang/Object;)Z
STDERR: at org.freeplane.features.ui.FrameController.setLookAndFeel(FrameController.java:554)
STDERR: at org.freeplane.main.application.FreeplaneGUIStarter.createController(FreeplaneGUIStarter.java:175)
STDERR: at org.freeplane.main.osgi.ActivatorImpl.startFramework(ActivatorImpl.java:183)
STDERR: at org.freeplane.main.osgi.ActivatorImpl.start(ActivatorImpl.java:84)
STDERR: at org.freeplane.main.osgi.Activator.start(Activator.java:36)
STDERR: at org.knopflerfish.framework.BundleImpl.start0(BundleImpl.java:386)
STDERR: ... 1 more
STDERR: Nested bundle exception:
STDERR: java.lang.NoSuchMethodError: java.util.Properties.remove(Ljava/lang/Object;Ljava/lang/Object;)Z
STDERR: at org.freeplane.features.ui.FrameController.setLookAndFeel(FrameController.java:554)
STDERR: at org.freeplane.main.application.FreeplaneGUIStarter.createController(FreeplaneGUIStarter.java:175)
STDERR: at org.freeplane.main.osgi.ActivatorImpl.startFramework(ActivatorImpl.java:183)
STDERR: at org.freeplane.main.osgi.ActivatorImpl.start(ActivatorImpl.java:84)
STDERR: at org.freeplane.main.osgi.Activator.start(Activator.java:36)
STDERR: at org.knopflerfish.framework.BundleImpl.start0(BundleImpl.java:386)
STDERR: at org.knopflerfish.framework.BundleThread.run(BundleThread.java:145)
STDOUT: Framework launched^[[1;2A

schnedan commented on 2017-01-20 22:07

fyi:
I retrieved freeplane via
git clone https://aur.archlinux.org/freeplane.git
just a few minutes ago

schnedan commented on 2017-01-20 22:04

sorry for being late :-)
checked with archlinux-java status
Available Java environments:
java-8-openjdk/jre (default)

yaourt -Qs | grep jdk, yaourt -Qs | grep jre
--> only java8 stuff is present

executing makepkg -s
I was asked to choose between 2 providers:
makepkg -s
==> Erstelle Paket: freeplane 1.5.18-1 (Fri Jan 20 22:51:50 CET 2017)
==> Prüfe Laufzeit-Abhängigkeiten...
==> Installiere fehlende Abhängigkeiten...
:: Es stehen 2 Provider für java-environment zur Verfügung:
:: Repositorium extra
1) jdk7-openjdk 2) jdk8-openjdk

Geben Sie eine Zahl ein (Voreinstellung=1): 2

I choosed jdk8-openjdk

makepkg -i...

after installing:
yaourt -Qs | fgrep jdk
extra/jdk8-openjdk 8.u112-1
extra/jre8-openjdk 8.u112-1
extra/jre8-openjdk-headless 8.u112-1
yaourt -Qs | fgrep jre
extra/jre8-openjdk 8.u112-1
extra/jre8-openjdk-headless 8.u112-1

+ freeplane works fine

artafinde commented on 2017-01-08 11:48

@schnedan interesting that it's choosing version 7. That could be a bug actually with yaourt. The dependency of the AUR package is `java-environment` which according to wiki [1] should be covered from `jdk8-openjdk`, `jdk7-openjdk` or `jdk`. Try building with `makepkg -s` instead of yaourt. You can also try changing to `java-runtime` in PKGBUILD and see what it will fetch (hopefully only a JRE).

schnedan commented on 2017-01-08 10:44

@togo
Of course there is a JDK present also... but in my understanding the jdk is a dependency of the JRE, so uninstalling a JRE with -Rs also deletes the JDK if not needed by any other program. So yes, I removed not only the JRE7 but all three: JRE7, JDK7 + freeplane, but reinstalling freeplane brought back JRE7 + JDK7 while JRE8 + JDK8 is installed + selected!

So the base problem is: when XXX8 is installed, why freeplane insists XXX7 needs to be installed also?

togo commented on 2016-12-31 21:18

@schnedan Do you really have only a JRE installed? The dependencies require actually a java-environment which means a JDK.

But is a JDK necessary at all? For a normal application a JRE should be sufficiently. The Windows version of Freeplane needs only a JRE so far as I know.

All comments