eclipse出现的JRE运行环境错误

时间:2023-06-09 12:11:02

## adt-bundle-linux 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下的JRE目录/bin bin

注意运行eclipse都需要.