Updated some java stuff