Trying with java 1.6 - removed nio