Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fresh new install on ubuntu 18.04.2 #18

Open
omgnix opened this issue May 13, 2019 · 7 comments
Open

fresh new install on ubuntu 18.04.2 #18

omgnix opened this issue May 13, 2019 · 7 comments

Comments

@omgnix
Copy link

omgnix commented May 13, 2019

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.

@hofingermarkus
Copy link

hofingermarkus commented May 14, 2019

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)

@kenjis
Copy link

kenjis commented Jun 16, 2019

I got the same error, too.

@r-menezes
Copy link

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.

@MrFuNK1
Copy link

MrFuNK1 commented Aug 17, 2019

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!

@ttppss
Copy link

ttppss commented Nov 16, 2019

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!

@kenjis
Copy link

kenjis commented Feb 2, 2020

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

@wangyijieonline
Copy link

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

@mriza mriza pinned this issue Apr 27, 2020
@mriza mriza unpinned this issue May 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants