Fork me on GitHub

XMind在Ubuntu18.04下不能运行的解决方法

@author – zhanjzh

安装Xmind

出错:

问题定位

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
!ENTRY org.xmind.cathy 1 0 2018-12-25 01:14:41.962
!MESSAGE Skip unrecognized command line argument: '-eclipse.keyring'

!ENTRY org.xmind.cathy 1 0 2018-12-25 01:14:41.963
!MESSAGE Skip unrecognized command line argument: '@user.home/.xmind/secure_storage_linux'

!ENTRY org.eclipse.osgi.compatibility.state.nl_da 2 0 2018-12-25 01:14:42.051
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_da [840]
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi.compatibility.state.nl_it 2 0 2018-12-25 01:14:42.051
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_it [844]
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state

解决

在Xmind的一个论坛上有人提供了一种解决方案
如下:

1
2
3
4
5
6
7
8
9
Write on your terminal : sudo gedit "/opt/xmind/XMind_amd64/XMind.ini"

And add this

-vmargs
--add-modules=java.se.ee
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m

下面是修改后的XMind.ini

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
-configuration
./configuration
-data
../workspace
-startup
../plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
--launcher.library
../plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.400.v20160518-1444
--launcher.defaultAction
openFile
--launcher.GTK_version
2
-eclipse.keyring
@user.home/.xmind/secure_storage_linux
-vmargs
--add-modules=java.se.ee
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-Dfile.encoding=UTF-8

亲测成功