fix java package deps