1. 程式人生 > >安裝xmind出錯:沒有JRE

安裝xmind出錯:沒有JRE

我的PC機是Ubuntu 12.04 64位系統,已安裝JDK,但在安裝xmind時仍報找不到Java的錯誤,提示安裝JRE。

首先,檢視下xmind的依賴:

$ dpkg –info xmind-linux-3.4.0.201311050558_amd64.deb
new debian package, version 2.0.
size 84016328 bytes: control archive= 791 bytes.
881 bytes, 17 lines control
0 bytes, 0 lines md5sums
85 bytes, 5 lines * postinst #!/bin/sh
88 bytes, 4 lines * postrm #!/bin/sh
Package: xmind
Priority: optional
Section: multiverse/text
Maintainer: XMind Ltd.

[email protected]
Architecture: amd64
Version: 3.4.0
Installed-Size: 102724
Depends: libgtk2.0-0 (>= 2.8.0), openjdk-6-jre | oracle-java6-jre | sun-java6-jre | sun-java5-jre
Description: Professional & Powerful Mind Mapping Software
XMind, is an open source brainstorming and mind mapping software tool
developed by XMind Ltd. It helps people to capture ideas, organize to
various charts, and share them for collaboration. Supporting mind maps,
fishbone diagrams, tree diagrams, org-charts, logic charts, and even
matrix. Often used for knowledge management, meeting minutes, task
management, and GTD. XMind is compatible with Freemind/Mindmanager.
XMind is dual licensed under 2 open source licenses: the Eclipse Public
License v1.0 (EPL) and the GNU Lesser General Public License v3 (LGPL).

因為我已經安裝了JDK,所以忽略依賴檔案,如下:

$ sudo dpkg –ignore-depends=sun-java6-jre -i xmind-linux-3.4.0.201311050558_amd64.deb

安裝後,可以正常使用的。