As asked and answered here, python has a useful way of deployment without installers. Can Java do the same thing?
For running Java programs on your computer you only need to install the JRE. If you are planning to do some Java programming, you need to install the JDK instead.
If you want to run any Java program on your Windows PC, you won't be able to do it without installing the Java Development Kit (JDK for short). The JDK also contains the Java Runtime Environment (or JRE) which is the core of a Java program.
You can use Launch4j for this. Well documented and easy to use. While the resulting program still needs a JRE to run, you don't have to install the JRE on the target system. You can just copy it with your application and tell Launch4j were to find it or just wrap it up with everything else.
For creating native executables, you can use Excelsion Jet, which compiles Java to native code. We used it for a project at work, and we had to perform zero modification to the original source code (which targetted Sun's JDK).
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