title: Name of the Operating System in java (not "os.name")
body: <p>I'd like to know how to get hold of the kind of Operating System the jvm is running on. It has to be "secure" as well, so <code>System.getProperty("os.name")</code> is not really an option because it can be trivially circumvented with the -D directive.</p>
  
  <p>By "secure" I mean nontrivial to circumvent. It's for a desktop application. The user could always deobfuscate, decompile, edit and recompile the code, but that is significantly harder than passing -D to the jvm. We want to make tinkering nontrivial, not impossible (since that can't be done).</p>