Java - dependencies fixed