Eclipse error when using Gradle build system

Source: Internet
Author: User

Today, after launching Eclipse, yesterday the normal Gradle project error, unable to compile, error message is as follows:

Unable to start the daemon process. This problem might is caused by incorrect configuration of the daemon. For example, a unrecognized JVM option is used. Refer to the User Guide chapter on the daemon at http://gradle.org/docs/2.2.1/userguide/gradle_d aemon.htmlPleaseread the following process output to findout more:-----------------------   for ' eclipseproject ' using Gradle distribution ' https://services.gradle.org/distributions/ Gradle-2.2.1-bin.zip '.

In the literal sense, it seems that there is not enough memory, all the gradle memory needs to be configured, steps below

1. Navigate to Directory C:\users\<username>\.gradle

2, create the file gradle.properties; content: org.gradle.jvmargs=-xmx512m

3. Restart eclipse after saving to compile normally

Eclipse error when using Gradle build system

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.