Fix my various Java issues.