mercredi 5 octobre 2016

Unrecognized option: -modulepath

Vote count: 0

Is anyone else having this issue when they run the module it complains about this in java 9 mac version?

Below is the issue!

Unrecognized option: -modulepath
Error: Could not create the Java Virtual Machine.

How to reproduce ? I am doing this example. The last step is to run the module using below command. That's when i see the issue.

java -modulepath mods -m com.mycompany.helloworld/com.mycompany.helloworld.HelloWorld

Here is some background information. . I started playing with java 9 (mac version).

java version "9-ea"
Java(TM) SE Runtime Environment (build 9-ea+138)
Java HotSpot(TM) 64-Bit Server VM (build 9-ea+138, mixed mode)

I can not even uninstall the java 9 properly. But, I will solve that later.

any help will be appreciated!

asked 15 secs ago

Let's block ads! (Why?)



Unrecognized option: -modulepath

Aucun commentaire:

Enregistrer un commentaire