add java dependency as the installer uses java