Fork me on GitHub

Linux下启动eclipse报错

A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be avail

 

 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

posted @ 2015-02-20 19:44  森林森  阅读(835)  评论(0编辑  收藏  举报