I've tried ot do this for what seems like forever, and haven't found a way. The things i've tried so far: Using fx:deploy : not avalible in new JDKs Using Maven : couldn't figure it out completly, didn't get it to work Using IntelliJ's normal artifact packaging.
These methods all produced jars, but none of them worked. Creating the jar with method 3 would only work if i ran it from the command line, specifing module dependencies. How would I do this without having to run it from the command line, and without having people if they want to use it to install javafx. Just java. Any way to do this? Let me know if anyone has any clarifying questions. The jar dosen't need to be executable, just able to be ran without dependencies, from any other normal method.