错误类似
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
ln -s 你的JDK目录/bin bin是建立一个叫做bin的快捷方式,指向的是jdk的bin目录
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
ln -s 你的JDK目录/bin bin是建立一个叫做bin的快捷方式,指向的是jdk的bin目录