ubuntu下无法正常启动eclipse

今天启动eclipse莫名其妙报找不到JRE错误,在网上查了一下解决办法如下:

A Java RunTime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No java virtual machine was found after searching the following locations:…

解决办法是在终端进入你的eclipse目录,然后输入:

mkdir jre

cd jre

ln -s 你的JDK目录/bin bin

猜你喜欢

转载自zyueqi.iteye.com/blog/1496454