add :java dependency
plplot: make java optional