Eclipse错误:“无法找到jre7的可执行文件” [英] Eclipse Error: "Unable to locate executable for jre7"

查看:213
本文介绍了Eclipse错误:“无法找到jre7的可执行文件”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在尝试运行我的测试类时,Eclipse会给我上面的错误。 JDK已正确安装,我从来没有遇到与其他IDE错误。

Eclipse keeps giving me the above error when trying to run my test class. JDK is properly installed and I've never gotten an error like this with other IDEs.

推荐答案

有必要指出jre的位置您必须转到窗口/首选项,然后

It is necessary that you indicate the location of the jre. You must go to Window / Preferences, and then


  1. Java /已安装的JRE:指示JRE的位置(您删除旧的和您添加新文件夹(jdk或jre)


  1. Java /安装的JRE /执行环境:关联和JRE运行时环境(JavaSE#your-version) - 必须退出并返回首选项以确认新位置。 >
  1. Java / Installed JREs / Execution Environments: To associate and JRE runtime environment (JavaSE #your-version) - have to get out and return the preference to confirm the new location.

这篇关于Eclipse错误:“无法找到jre7的可执行文件”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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