Eclipse is running in a JRE, but a JDK is required
Some Maven plugins may not work when importing projects or updating source folders.
1. First check eclipse is using JDK, not JRE;
Window -> Preferences -> Java -> Installed JREs
2. Then configure file eclipse.ini
See the solution I in blog:
http://smallwildpig.iteye.com/blog/1752581
3. Others:
make sure "JAVA_HOME" is configured correctly
(maybe have more JDK, or the path is not correct)
4. eclipse shortcut
Open Properites -> Target, modify:
"D:\Program Files\eclipse\eclipse.exe" -vm "D:\Program Files\Java\jdk1.6.0_37\bin\javaw.exe"
Restart eclipse...
分享到:
相关推荐
如果在安装过程中遇到Eclipse报错,提示"Eclipse is running in a JRE, but a JDK is required",这意味着Eclipse正在使用JRE而非JDK运行。解决这个问题,你需要确保Eclipse配置中使用的是JDK。在“Window”->...
* 安装好 m2eclipse 插件后,可能会报错:Eclipse is running in a JRE, but a JDK is required. Some Maven plugins may not work when importing projects or updating source folders。 解决方式是:创建一个 ...
> Eclipse is running in a JRE, but a JDK is required > > Some Maven plugins may not work when importing projects or updating source folders. 这通常是因为Eclipse运行在JRE上而不是JDK上,导致某些Maven...
- **Eclipse 启动问题**:安装 m2eclipse 插件后,Eclipse 可能会出现提示“Eclipse is running in a JRE, but a JDK is required”。解决方法是在 Eclipse 的启动参数中指定 JDK 的位置。 - 在 `-vm` 参数前添加 `...
当Eclipse启动提示“Eclipse is running in a JRE, but a JDK is required”时,需要在Eclipse的启动参数中指定JDK路径。这通常在Eclipse的启动配置(eclipse.ini)文件中完成,确保`-vm`参数设置在`-vmargs`之前,...
- 如果遇到 Eclipse 显示的警告信息“Eclipse is running in a JRE, but a JDK is required”,可以通过以下步骤解决: - 检查 Eclipse 正在使用的 JRE 版本:`Window` -> `Preferences` -> `Java` -> `Installed ...