Added required field for javaPkgs.