IntelliJ / Gradle problem : Unable to start the daemon process.

Answered

Right now i try to make a mincraft mod for 1.8.9.
Grade Version : Gradle 7.3.3

Kotlin:       1.5.31
Groovy:       3.0.9
Ant:          Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM:          1.8.0_202 (Oracle Corporation 25.202-b08)
OS:           Windows 10 10.0 amd64

java version "1.8.0_202"
Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)

Error:

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 https://docs.gradle.org/3.0/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Invalid maximum heap size: -Xmx4g-Xms4g

1
3 comments
Avatar
Yaroslav Bedrov

Hello,

When do you get this error? Seems space is missing in Gradle VM options "-Xmx4g-Xms4g"

1

Yea that worked thx 👍

0
Avatar
Yaroslav Bedrov

You are welcome!

1

Please sign in to leave a comment.