title: run java jar file on HP-UX as UNIX as "os.name"
body: <p>I need to execute a jar file on HP-UX that I am not supposed to modify.</p>
  <p>I unpacked it using jd-gui and found out that I am failing cause in java there is a condition to check the os, leading to different directions for win, macos, freebds, openbds, gnu and so on.</p>
  <p>I am quite sure everything would work if I would be able to make my unix command line reply freebds or openbds to the java call</p>
  <p><code>System.getProperty(&quot;os.name&quot;)</code></p>
  <p>once executed from a jar file like:</p>
  <p><code>java -jar myjar.jar</code></p>
  <p>is there a way to achieve this? some kind of compatibility mode or a way to preset that parameter.</p>