Downgrade Java version to 1.6.