4 ways to create an executable jar file

First it’s important to understand what is a runnable java jar.
It’s simply a zip file renamed in jar file who embed the compiled code.

  • Create runnable jar with eclipse
  • Using Maven to create a runnable jar
  • Runnable Java Jar by hand
  • importing Java jars programmatically at runtime