coming up on being ready to deploy a project

I’m coming up on being ready to deploy a project (audio-based, a drone tool I started years ago, has undergone many GUI and performance improvements).

I know I’ve seen advice and links here about how to include a JVM in the file. I even tried out one of the tools (‘jarsplice’) years ago. Summary of what I found via doing some searching here:

Also came across the following from Oracle:
https://docs.oracle.com/javase/8/docs/technotes/guides/deploy/self-contained-packaging.html
and javapackager

Was also checking around for anything Eclipse-based.

I’d appreciate hearing current suggestions for ways to distribute via itch.io that include the JVM.

Code makes use of Swing not JavaFX. Otherwise, nothing too fancy involved, just Java 8.

Before diving in too deep to these various articles, it seems like working with JarSplice will do the job. Do others agree? Seems like trying that should be my next step.

Thanks!

I know that somehow Launch4j can do it, but I couldn’t figure it out at all.

Launch4j works, Jsmooth too. We use one of those at work but I forget which one exactly, which is funny because it was only 2 months ago and I was the one that did it, haha.

I’ve had perfectly fine results simply embedding the whole JVM and writing my own JNI launcher in C++ on Windows and shellscripts for Linux/Mac. You probably don’t even need the C++ launcher on Windows but it looks a bit more professional than a .bat file :smiley: So just do this. I haven’t tried Oracle’s java packager yet but I’m prepared to expect it to be crap in some way.

Cas :slight_smile: