title: How To Build Java Native Executable Files For Linux
body: <p>I'm looking for a way to build my Java or JavaFx apps so that I have a single executable file that runs without installing a Java runtime on the target system that is running Linux (like a .exe on Windows)</p>
  <p>Usually, Java apps are packaged into jar files that can be run like this</p>
  <pre class="lang-sh prettyprint-override"><code>java -jar &lt;file-name&gt;.jar
  </code></pre>
  <p>This requires us to install a Java JRE beforehand.</p>
  <p>I'm looking for a solution to package my Java app so that it can execute without needing a Java JRE on the target machine.</p>