netbeans 6.5.1 should use java 1.6 already. 1.5 is pretty old stuff now. Reproducible: Always
We don't have such a version in tree.