我的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. dev@xmind.net
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
安装后,可以正常使用的。