Disable java & add missing dependencies.