title: Spring boot running a fully executable JAR and specify -D properties
body: <p>The Spring Boot Maven and Gradle plugins can now generate full executable archives for Linux/Unix operating systems.Running a fully executable JAR is as easy as typing:</p>
  
  <pre><code>$ ./myapp.jar
  </code></pre>
  
  <p>My question is in this case how to set -D properties, e.g.</p>
  
  <pre><code>-Dspring.profiles.active=test
  </code></pre>
  
  <p>In addition, if server does not install jdk , could this fully executable jar still run?</p>