use java 1.6

Signed-off-by: Darren ha <nberserk@gmail.com>