[Solved] Unrecognized VM option 'UseConcMarkSweepGC' When Running the main() in IntelliJ IDEA
There is an old Java project. After I upgrade the version of JDK from 8 to 21 in IntelliJ IDEA, and run the main() method in IntelliJ IDEA, an error occurs.