Henry Henrinson
Henry Henrinson

Reputation: 5402

How to build a stand-alone scala executable

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?

Upvotes: 19

Views: 15918

Answers (4)

Dielson Sales
Dielson Sales

Reputation: 1737

I've heard of this one: Lauch4j.

According to the site:

It's possible to wrap applications on Windows, Linux, Mac OS X and Solaris

Upvotes: 3

Don Mackenzie
Don Mackenzie

Reputation: 7963

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.

Upvotes: 6

Yo Eight
Yo Eight

Reputation: 467

Have a look one OneJar. There is also a sbt plugin here

Upvotes: 6

Petro Semeniuk
Petro Semeniuk

Reputation: 7038

IzPack plugin for SBT might be useful.

Even scala itself uses it: They use IzPack

Upvotes: 2

Related Questions