首页 > 编程语言 > 详细

eclipse启动报错A Java RunTime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse.

时间:2015-08-13 19:50:53      阅读:580      评论:0      收藏:0      [点我收藏+]

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:…

此问题起于我在Ubuntu1004上装了两个版本的eclipse:Galieo+helios;卸载前者后出现启动不了eclipse的问题;在网上找了下,可以按如下过程进行解决:

Eclipse 3.6 在 Ubuntu 10.04 下会出现一个很奇怪的现象,我没有经过测试,无法确定是Ubuntu 10.04 还是 JDK 还是 Eclipse本身造成的。 这个现象是:
可以在终端顺利启动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

问题解决!

eclipse启动报错A Java RunTime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse.

原文:http://www.cnblogs.com/dandandeyoushangnan/p/4728226.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!