Added some java stuff