Java version validation
<p>I need to validate java version. I use </p>

<pre><code>String version = System.getProperty("java.version");
</code></pre>

<p>How to simple parse that to know for example that installed JRE is in min. <code>1.6.0_18</code> version ? I wonder is that naming convention of java version is standard.</p>
