title: Boolean.getBoolean() Vs System.getenv() in Java
body: <pre><code>Boolean.getBoolean("myvariable"); // where myvariable has been defined in the
                                    // Environment variable as Variable name:
                                    // myvariable
                                    // and Variable Value:true
  </code></pre>
  
  <p>The above call gives me output as <code>false</code>.
   If I use </p>
  
  <pre><code> System.getenv("myvariable") ; 
  </code></pre>
  
  <p>then it gives me output as <code>true</code>.</p>
  
  <p>I am wondering why <code>Boolean.getBoolean("myvariable")</code> is not working.</p>