I am trying to create a standalone .exe file (or something equivalent) from a scala project I have started. I need to create this in such a way thet the person using the application has to do the least amount of work possible (double-click an installer or just the .exe file). What are my options?
To build a jar file with your application in case if you have no external dependencies, you can run sbt package and it will build a hello-world_2. 11_1. 0. jar file with your code so you can run it with java -jar hello-world.
Take a look at ej-technologies the creators of JProfiler, they have a couple of products that might be useful to you, quoting from their product page:
install4j A cross platform Java installer that generates native installers and application launchers for your Java applications.
exe4j A Java exe maker that helps you integrate your Java applications into the Windows operating environment.
These are both commercial products and although I haven't used them, I have used JProfiler for many years.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With