Java example: switch back to 1.6 compiler version