I have written a program that requires the JRE to be bundled with it. Launching the program via command line with the bundled JRE works, but my users do not have any knowledge of how to do this sort of thing, so I need include a launcher for the program that will work on Windows, Mac, and Linux. How can I do this? Ideally, I would like to use a language such as Visual Basic to write a launcher that can compile three executables: one for Windows, one for Mac, and one for Linux.
I suggest providing a .bat script for Windows and an .sh script for Linux and Mac; no compilation needed.
Or if you must provide a native binary, C is nicer because it can easily be compiled on all platforms. Visual Basic is Windows specific and not very typically used for new projects.
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