[Solved] javajdk1.8 Run javaFx Error: Error:Error: A fatal exception has occurred. Unrecognized option: –module-path

java jdk1.8. Run JavaFX and report an error

Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Unrecognized option: --module-path

Solution:

1. Click Edit config

2. Delete the path

After deletion:

Read More: