Closed o4codes closed 3 years ago
What is the output of running java --version at the command line?
Was able to repro. Don't put the --add-modules jdk.incubator.jpackage inside of quotes in the Windows env variable pane.
Let me know if this works. If not, feel free to reopen.
Thanks. This works
adding MAVEN_OPTS="--add-modules jdk.incubator.jpackage" to env on windows does not yield appropriate results when mvn --version is ran. this is what it produces as output on windows:
Unrecognized option: --add-modules jdk.incubator.jpackage Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
How can this be solved ?