linux 下打开eclipse报错(A Java RunTime Environment (JRE) or)

时间:2022-07-17 17:08:04

打开eclipse时候出现

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