`

Eclipse is running in a JRE, but a JDK is required

阅读更多

 

安装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
分享到:
评论
1 楼 dongwei_6688 2009-09-18  

相关推荐

Global site tag (gtag.js) - Google Analytics