Remove java from dependencies