在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

http://lanpluto.i.sohu.com/blog/view/229195861.htm

posted on 2013-05-14 16:23  lanfengniao  阅读(240)  评论(0编辑  收藏  举报