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: /usr/local/eclipse/

linux系统下jdk是已经安装好的情况之下软件出现

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:
/usr/local/eclipse/jre/bin/java java in your current PATH


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

mkdir jre
cd jre
ln -s 你的JDK目录/bin

posted on 2017-03-12 00:16  Honey_Badger  阅读(1718)  评论(0编辑  收藏  举报

导航

github