码迷,mamicode.com
首页 > 编程语言 > 详细

启动eclipse是报 no java virtual machine was found after searching the following location E:/Program Files/jdk1.6.0/bin/javaw.exe

时间:2015-03-11 18:50:45      阅读:128      评论:0      收藏:0      [点我收藏+]

标签:

系统中本来有个eclipse,能正常启动,后来又拷贝了个新版本的,但启动就报错!

百度下,按照如下更改环境变量,试了N遍,花了若干小时,结果不行,无奈!

http://blog.csdn.net/lqz1988/archive/2010/12/29/6105324.aspx

百无聊赖之下,打开eclipse目录,发现有个eclipse.ini文件,里面第二行是路径

E:/Program Files/jdk1.6.0/bin/javaw.exe

灵机一动,有门有门!,试着把 上面路径改为 D:/jdk1.6.0/bin/javaw.exe(实际路径)

启动,没再报错!ok!

 

启动eclipse是报 no java virtual machine was found after searching the following location E:/Program Files/jdk1.6.0/bin/javaw.exe

标签:

原文地址:http://www.cnblogs.com/ljan69/p/4330351.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!