Install freeplane on Ubuntu 16.04

Let's go!

cd freeplane-1.5.13

Exception in thread "main" java.lang.reflect.InaccessibleObjectException: Unable to make member of class sun.awt.X11.XToolkit accessible:  module java.desktop does not export sun.awt.X11 to unnamed module @27d415d9
at jdk.internal.reflect.Reflection.throwInaccessibleObjectException(java.base@9-ea/
at java.lang.reflect.AccessibleObject.checkCanSetAccessible(java.base@9-ea/
at java.lang.reflect.Field.checkCanSetAccessible(java.base@9-ea/
at java.lang.reflect.Field.setAccessible(java.base@9-ea/
at org.freeplane.launcher.Launcher.fixX11AppName(
at org.freeplane.launcher.Launcher.main(

In my last post, I explain how to install oracle java 9, but in this case, we need a previous version.
We need install it and later configure the previous version as default:

sudo apt-get install oracle-java8-installer -y
sudo update-alternatives --config java

Now, execute freeplane again

Enjoy it!


Popular posts from this blog

from: can't read /var/mail/ in Python scripts

How to fix Android when developer options are not available for this user

Fix "Set scan parameters failed: Input/output error" on Ubuntu 16.04