指定的JRE安装不存在 [英] specified JRE installation does not exist

查看:330
本文介绍了指定的JRE安装不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的eclipse indigo EE上运行我的tomcat 7上的服务器

我收到以下错误:

I'm trying to launch a server on my tomcat 7 on my eclipse indigo EE
and I get the following error:

'在localhost启动Tomcat v7.0服务器'遇到了问题。

指定的JRE安装不存在

"'starting Tomcat v7.0 server at localhost' has encountered a problem.
The specified JRE installation does not exist"

我检查了构建路径配置和库部分我有
JDK7作为JRE系统Libraray,当我检查已安装的JRE ...时,正确的$
路径就在那里 - C:\ Program Files\Java \ _jdk1.7.0_01。

I checked the build path configuration and on the libraries section I have the
JDK7 as JRE System Libraray and when I check "Installed JREs..." the correct
path is there - "C:\Program Files\Java\jdk1.7.0_01".

还能做些什么?非常感谢。

What else can be done? Many thanks.

p.s。 - 我也在使用maven 3.0.3

p.s. - I'm also using maven 3.0.3

推荐答案

运行mvn install clean -P prepare

It worked after running "mvn install clean -P prepare"

这篇关于指定的JRE安装不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆