Reputation: 11090
I created JavaFX application under Ubuntu and I need to create exe file. Is it possible to do that under Linux?
Upvotes: 2
Views: 622
Reputation: 140427
I guess by "exe" file you are referring to a "standalone binary" that doesn't require its users to have a JRE installed on their system.
Short answer: no, that isn't really an option in practical reality.
What you can do instead: deploy your whole application into a single JAR and use a script wrapper around it. That makes it easier for folks to invoke your JAR.
For the "long" answer on creating binaries; see here.
Upvotes: 1