For Windows, I use Launch4j to create an exe for easy distribution. But what is recommended for linux or mac? I've searched a little and found Jnix. Anyone used that tool?
A runnable jar is always an option, but there's also the Eclipse Rich Client Platform (RCP)… On OS X, for example, you can actually create a .app
You can use Java Webstart (but the shortcuts work bad :(), the very complete installer IzPack (I posted an example here) or ANT (it is possible to create a RPM with ANT but I don't know how, you can use "alien" to convert it into DEB). Give a look at JPackage too.
Haladria said:
For Windows, I use Launch4j to create an exe for easy distribution. But what is recommended for linux or mac? I've searched a little and found Jnix. Anyone used that tool?
i spent a good afternoon trying to get launch4j to build an exe with jme jar and native dependencies....
how the hell do you do it? :)
ncomp said:
i spent a good afternoon trying to get launch4j to build an exe with jme jar and native dependencies....
how the hell do you do it? :)
I used fat jars. So dll's are inside the jar. No special treatment needed.
IzPack looks really good. But doesn't it generate a jar file?
Haladria said:
IzPack looks really good. But doesn't it generate a jar file?
Yes it generates a JAR file. You can use optionally a native installer. Using installers that convert bytecodes to binary codes is quite dangerous, I prefer using a JVM.