Add some java code