mriza/XMind-Linux-Installer

fresh new install on ubuntu 18.04.2

omgnix opened this issue · 7 comments

I installed java8 and set it as default instead of using default-jre, but I got the following message.

JVM terminated. Exit code=1
/usr/bin/java
-Dfile.encoding=UTF-8
--add-modules=java.se.ee
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-jar /opt/xmind/plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /opt/xmind/XMind_amd64/XMind
-name XMind
--launcher.library /opt/xmind/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.400.v20160518-1444/eclipse_1617.so
-startup /opt/xmind/plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
--launcher.overrideVmargs
-exitdata 220011
-configuration @user.home/.configuration
-data @user.home/workspace
-eclipse.keyring @user.home/.xmind/secure_storage_linux
-vm /usr/bin/java
-vmargs
-Dfile.encoding=UTF-8
--add-modules=java.se.ee
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-jar /opt/xmind/plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar

How can I fix this, thx.

I do get the same error
However when I start xmind directly from the shell (/opt/xmind/XMind_amd64/XMind ) I do get an additional error shown:

Error occurred during initialization of boot layer
java.lang.module.FindException: Module java.se.ee not found

It seems as if XMind is using the java.se.ee module which is no longer part of java as of java 11 (was deprecated since java 9 according to this article https://jaxenter.com/jdk-11-java-ee-modules-140674.html)

I got the same error, too.

I got the same error as well (also with the additional error reported by @hofingermarkus ).
I've tried to change the --add-modules=java.se.ee line into --add-modules=ALL-SYSTEM as suggested by @arlinters in #14 , but with no success.

The error I'm getting is:
tk-Message: 11:37:03.513: Failed to load module "canberra-gtk-module" Gtk-Message: 11:37:03.866: Failed to load module "canberra-gtk-module" WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.eclipse.osgi.storage.FrameworkExtensionInstaller (file:/opt/xmind/plugins/org.eclipse.osgi_3.11.0.v20160603-1336.jar) to method java.net.URLClassLoader.addURL(java.net.URL) WARNING: Please consider reporting this to the maintainers of org.eclipse.osgi.storage.FrameworkExtensionInstaller WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release

and there seems to be additional info on the log file.

XMind8 wasn't running for me too. But solved it by doing the following:

I've set the default java to java-8-openjdk-amd64 first, using the following command and selecting java8 from the list by entering the respective number (it was 2 for me).

sudo update-alternatives --config java

Now I've opened the XMind.ini that is stored in /opt/xmind/XMind_amd64 and remove the following line from the code and saved the file.

--add-modules=java.se.ee

XMind started without problems for me. Hopefully this helps others too!

XMind8 wasn't running for me too. But solved it by doing the following:

I've set the default java to java-8-openjdk-amd64 first, using the following command and selecting java8 from the list by entering the respective number (it was 2 for me).

sudo update-alternatives --config java

Now I've opened the XMind.ini that is stored in /opt/xmind/XMind_amd64 and remove the following line from the code and saved the file.

--add-modules=java.se.ee

XMind started without problems for me. Hopefully this helps others too!

It worked for me, thanks!

@MrFuNK1 Installing java8 and removing --add-modules=java.se.ee, that worked form me, too.
Thank you!

Thanks @MrFuNK1 , that works for me.
only sudo update-alternatives --config java choose openjdk-8 is ok