using jdk 8 to compile. code still compatible with jre 6.