linux eclipse启动问题及解决方法
linux中设置好JAVA_HOME,并将$JAVA_HOME/bin添加到PATH中,在terminal中可以使用java。但是在启动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
做一个soft link到JAVA_HOME/bin
ln -s $JAVA_HOME/bin bin