[netcdf-java] How to write gbx9 index file with java command?

Hi guys,
    With "java -Xmx256m ucar/grib/grib1/Grib1WriteIndex gribfile", I can get 
gbx8 index file.
But how to write gbx9 index file with java command? Very thanks.
                                                                                
                                      Dave