[internal] Update `java` to use new Options API (#14368)
[internal] Update `java` to use new Options API (#14368)


benjyw/pants,pantsbuild/pants,pantsbuild/pants,benjyw/pants,pantsbuild/pants,pantsbuild/pants,benjyw/pants,pantsbuild/pants,pantsbuild/pants,benjyw/pants,pantsbuild/pants,benjyw/pants,benjyw/pants,benjyw/pants