close

[Solved] Unrecognized VM option ‘UseConcMarkSweepGC’ Error: Could not create the Java Virtual Machine

Hello Guys, How are you all? Hope You all Are Fine. Today I am just trying to run the simple sample project and I am facing the following error Unrecognized VM option ‘UseConcMarkSweepGC’ Error: Could not create the Java Virtual Machine in Java. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Unrecognized VM option ‘UseConcMarkSweepGC’ Error: Could not create the Java Virtual Machine Error Occurs ?

I am just trying to run the simple sample project and I am facing the following error.


Unrecognized VM option 'UseConcMarkSweepGC'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Process finished with exit code 1

How To Solve Unrecognized VM option ‘UseConcMarkSweepGC’ Error: Could not create the Java Virtual Machine Error?

  1. How To Solve Unrecognized VM option ‘UseConcMarkSweepGC’ Error: Could not create the Java Virtual Machine Error?

    To Solve Unrecognized VM option ‘UseConcMarkSweepGC’ Error: Could not create the Java Virtual Machine Error Just Try to ignore unsupported VM options: -XX:+IgnoreUnrecognizedVMOptions and the second one is The problem is Codename One only supports Java 8 and Java 11 (at this time) so you should use one of those versions at the moment

  2. Unrecognized VM option ‘UseConcMarkSweepGC’ Error: Could not create the Java Virtual Machine

    To Solve Unrecognized VM option ‘UseConcMarkSweepGC’ Error: Could not create the Java Virtual Machine Error Just Try to ignore unsupported VM options: -XX:+IgnoreUnrecognizedVMOptions and the second one is The problem is Codename One only supports Java 8 and Java 11 (at this time) so you should use one of those versions at the moment

Solution 1: ignore unsupported VM options

Just Try ignore unsupported VM options: -XX:+IgnoreUnrecognizedVMOptions

Solution 2: Use Java 8 Or Java 11

The problem is Codename One only supports Java 8 and Java 11 (at this time) so you should use one of those versions at the moment

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?

Also, Read

Leave a Comment