I have a rather big javafx application, but when I create a jar file, it does not start. It is a pity, because the project has spent 3 months
I have already tried this instruction:
- Project Settings, Artifacts tab. Click [+], in the drop-down menu, select JAR.
- In the panel on the left, the contents of the JAR file, in the panel on the right, the contents of the project. Drag from right to left all that we want to include in the JAR.
- Specify the name for the file and the destination directory above the panels
- Click on the create manifest button under the left panel, create manifest.mf. In doing so, the IDE will ask the Main class and the classpath to be specified in the manifest.
- Do not forget to put a tick "Build on make" above the panels
- Now in the Build menu there is an artifact build command
But after all this, the jar file still did not start. In the development environment, everything works fine. What could be the problem?