Java 1.6

It seems that java 8 will be soon and it will be good to use 6 for some features