在ubuntu12.04下安装完Eclipse后,在终端可以启动,但是鼠标双击启动则会出现如下错误:
A Java RunTime Environment (JRE) or Java Developent Kit (JDK) must be available in order to run Eclipse. No java virtual machine was found...
经过查找,找到如下解决办法:
在终端进入eclipse目录,然后输入:
mkdir jre
cd jre
ln -s $JAVA_HOME/bin
from