It is possible to run a JAR file locally. The next step is to run it on a different PC.
The question is whether the JRE, the JDK or both are required to run the JAR file?
The JDK contains the JRE.
Most program only need the JRE (Java Runtime Environment) but some programs need the Compiler at runtime in which case you need the JDK.
If you have the JDK, you don't need the JRE as well.
To run a jar file you only need java.exe(windows). JDK is the development kit for Java and JRE is the runtime. JDK contains JRE.
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