Changes to java stuff.