一、报错环境:
在Linux mint下,前几天还用得很好的的eclipse,今天开机不知为什么这样。
Linux 下报错:A Java RunTime Environment (JRE) or Java Development Kit (JDK) must解决方案 - 天涯草 - 天涯草
Eclipse 3.6 在 linux mint 12 可以在终端顺利启动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: /home/zhangliuhua/developer/eclipse/jre/bin/java java in your current PATH
二、解决方案:
解决办法是在终端进入你的eclipse目录,然后输入:
mkdir jre
cd jre
ln -s /usr/lib/jvm/java-6-sun-1.6.0.26/bin bin (跟安装的java环境建立连接)
相关文章
- 做下笔记:linux eclipse安装时出错(A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be ...)
- A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse.
- linux 下打开eclipse报错(A Java RunTime Environment (JRE) or)
- Windows下的Eclipse启动出现:a java runtime environment(JRE) or java development kit(JDK) must be
- ubuntu 打开eclipse出现A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be ... 解决方法(转载)
- Linux 下报错:A Java RunTime Environment (JRE) or Java Development Kit (JDK) must解决方案
- ubuntu 打开eclipse出现A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be ... 解决方法
- 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 下报错:A Java RunTime Environment (JRE) or Java Development Kit (JDK) must解决方案