xmind.desktop报错
Tofloor
poster avatar
xuming9
deepin
2019-02-20 19:40
Author
我有一个xmind8的序列号,但商店下载的xmind8无法输入序列号.所以我在官网上下载最新版本的xmind8.
正常安装后,执行 ./XMind 能正常运行,在文件夹中双击XMind也能正常运行,但是制作xmind.desktop后无法启动.
错误内容百度到的大部分时32位和64位的问题,但我确认都是64位,
求各路神仙指点迷津



正常启动命令:

  1. cd /usr/local/xmind8/XMind_amd64
  2. ./XMind
Copy the Code

desktop文件
  1. [Desktop Entry]

  2. Version=1.0
  3. Name=Xmind8
  4. Comment=Xmind8 pro
  5. Exec=/usr/local/xmind8/XMind_amd64/XMind
  6. Icon=xmind
  7. Terminal=false
  8. Type=Application
  9. Categories=Office


Copy the Code
报错信息
  1. !SESSION 2019-02-20 11:13:15.606 -----------------------------------------------
  2. eclipse.buildId=R3.7.8.201807240049
  3. java.version=1.8.0_191
  4. java.vendor=Oracle Corporation
  5. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=zh_CN
  6. Framework arguments:  -eclipse.keyring @user.home/.xmind/secure_storage_linux
  7. Command-line arguments:  -os linux -ws gtk -arch x86_64 -data ../workspace -eclipse.keyring @user.home/.xmind/secure_storage_linux

  8. !ENTRY org.eclipse.osgi 4 0 2019-02-20 11:13:16.022
  9. !MESSAGE Application error
  10. !STACK 1
  11. java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
  12.         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:78)
  13.         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
  14.         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
  15.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  16.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  17.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  18.         at java.lang.reflect.Method.invoke(Method.java:498)
  19.         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
  20.         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
  21.         at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
  22.         at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
Copy the Code



Reply Favorite View the author
All Replies
avatar
electricface
deepin
2019-02-20 21:12
#1
也许是对工作目录有要求,desktop 文件中加上一行
  1. Path=/usr/local/xmind8/XMind_amd64/
Copy the Code
Reply View the author
avatar
xuming9
deepin
2019-02-20 22:02
#2
https://bbs.deepin.org/post/174888
也许是对工作目录有要求,desktop 文件中加上一行

谢谢大神,已搞定
Reply View the author