I am working on a Javafx application. I created the jar with intellij and artifact. The jar works very well on Windows. However when I run it on linux it displays this error message:
Erreur : impossible to find or load the main class view.View
Caused by : java.lang.NoClassDefFoundError: javafx/application/Application
It's probably a stupid mistake but I've been stuck on it for a long time..... I haven't found anything on the internet that could help me so if you have an idea or a useful link I'm very interested