Eclipse无法识别的选项:-Xincgc [英] Eclipse Unrecognized option: -Xincgc
问题描述
我当前正在Windows上运行Eclipse,并收到一条我无法解读的错误消息:
I am currently running Eclipse on Windows and received an error message I could not decipher:
Unrecognized option: -Xincgc
我没有发现其他类似错误的情况,可能需要一些帮助.我不确定是否缺少工具或JRE/JDK.
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.
推荐答案
-Xincgc是一个旧的JVM选项,意思是使用增量垃圾收集".我认为它已被Java的较新版本弃用或删除.您可能只需删除它即可.它可能在您的Maven .pom文件或Gradle文件中,或者在Eclipse中的构建选项中.
-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.
这篇关于Eclipse无法识别的选项:-Xincgc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!