2013-02-07 74 views
4

我正在使用eclipse 4.2发行版,并已安装Springource的gradle eclipse集成插件。gradle eclipse集成 -

当我最初尝试使用该向导创建我收到以下错误快速Java项目:

Unable to start the daemon process. 
This problem might be caused by incorrect configuration of the daemon. 
For example, an unrecognized jvm option is used. 
Please refer to the user guide chapter on the daemon at C:\devtools\gradle-1.4\docs\userguide\gradle_daemon.html 
Please read below process output to find out more: 
----------------------- 
Error occurred during initialization of VM 
Could not reserve enough space for object heap 
Error: Could not create the Java Virtual Machine. 
Error: A fatal exception has occurred. Program will exit. 

Could not fetch model of type 'HierarchicalEclipseProject' using Gradle installation 'C:\devtools\gradle-1.4'. 

当我运行在命令行中一切都很好gradle build

任何想法,我可以得到这个工作?

干杯

回答

5

既然你可以成功地运行在命令行gradle这个,你会想尝试使用gradle这个在Eclipse插件。

Preference -> Gradle -> Gradle Distribution -> Folder设置为您自己的Gradle发行版运行良好。