Java version 7, to maximise compatibility. 

Nio1 dependency to allow lower versions to load.