Java compatibility
<p>I'm running the same code on two machines. One (windows 7 64) uses:</p>

<pre><code>java version "1.7.0"
java&lt;TM&gt; SE Runtime Environment &lt;build 1.7.0-b147&gt;
Java HotSpot&lt;TM&gt; 64-Bit Server VM &lt;build 21.0-b17, mixed code&gt;
</code></pre>

<p>and the other (linux 64) uses:</p>

<pre><code>java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) 64-Bit Server VM (build 11.0-b15, mixed mode)
</code></pre>

<p>I'm getting different outputs. I think it's the VM because I copied the .class files, ran those, and still got different outputs.
Can anyone tell what could cause this?</p>

<p>EDIT:</p>

<p>The code is at <a href="http://pastebin.com/5EmYFkYn" rel="nofollow">http://pastebin.com/5EmYFkYn</a></p>

<p>The output should vary in between runs, yet not as drastically as it is between those two machines.</p>
