'Error: Could not find or load main class 2.lib
I need help I install JavaFX on my Macbook air but I keep getting this Error:
Could not find or load main class 2.lib
even though I updated the arguments on the runtime
--module-path /Users/lily/Developer/javafx-sdk-18 2/lib --add-modules javafx.controls,javafx.fxml
and added the jar files. does anyone knows how to fix this on Mac.
Solution 1:[1]
The blank in the path name between 18 and 2 is suspicious. Remove that. Or more precisely rename that path to something without blank.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | mipa |
