安装Maven之后提示:
控制台出现:
Eclipse is running in a JRE, but a JDK is required
Some Maven plugins may not work when importing projects or updating source folders.
解决办法:
To create a Windows shortcut to an installed Eclipse:
Navigate to eclipse.exe in Windows Explorer and use Create Shortcut on the content menu.
Select the shortcut and edit its Properties. In the Target: field append the command line arguments.
-vm C:\Java\jdk1.6.0_05\bin\javaw
Opening this shortcut launches Eclipse. (You can drag the shortcut to the Windows Desktop if you want to keep it in easy reach.)
example:
C:\Eclipse\eclipse.exe -vm C:\Java\jdk1.6.0_05\bin\javaw.exe
- 大小: 19.1 KB
分享到:
相关推荐
标题 "Eclipse is running in a JRE, but a JDK is required" 提示的是一个常见的Eclipse启动问题,意味着你的Eclipse集成开发环境正在使用Java运行时环境(JRE)而不是Java开发工具包(JDK)。这通常是由于配置不...
标题 "Eclipse is running in a JRE, but a JDK is required" 提到的问题是许多Java开发者在使用Eclipse集成开发环境时可能遇到的一个常见错误。这个错误表明Eclipse正在使用Java运行时环境(JRE)运行,而实际上它...
* 安装好 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启动提示“Eclipse is running in a JRE, but a JDK is required”时,需要在Eclipse的启动参数中指定JDK路径。这通常在Eclipse的启动配置(eclipse.ini)文件中完成,确保`-vm`参数设置在`-vmargs`之前,...
- **Eclipse 启动问题**:安装 m2eclipse 插件后,Eclipse 可能会出现提示“Eclipse is running in a JRE, but a JDK is required”。解决方法是在 Eclipse 的启动参数中指定 JDK 的位置。 - 在 `-vm` 参数前添加 `...