[#1360] Fix error launching through eclipse using jdk 1.7