Grifting
Grifting

Reputation: 57

Eclipse Unrecognized option: -Xincgc

I am currently running Eclipse on Windows and received an error message I could not decipher:

Unrecognized option: -Xincgc

I have not found any other case of a similar error and could need some help. I am not sure if I am missing a tool or JRE / JDK.

Upvotes: 2

Views: 3963

Answers (1)

GlenPeterson
GlenPeterson

Reputation: 5216

-Xincgc was an old JVM option that meant, "Use Incremental Garbage Collection." I think it has been deprecated or removed from newer versions of Java. You can probably just delete it. It might be in your Maven .pom file or your Gradle file, or in the build options in Eclipse.

Upvotes: 3

Related Questions