revert changes: java 8 is required