jar from java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp_24rh does not recognize the "i" option, making it incompatible with for example Sun's jar tool. $ jar i foo.jar jar: invalid option -- i Try `jar --help' for more information. More info about the "i" option and jar indexes: http://java.sun.com/j2se/1.4.2/docs/tooldocs/solaris/jar.html http://java.sun.com/j2se/1.4.2/docs/guide/jar/jar.html#JAR%20Index I think might be a good idea to provide the "i" option in the jar tool included in gcj-compat-devel even if it would be a no-op, with an appropriate warning message. That would provide command line compatibility; indexing of jars is an optional optimization feature not really required by anything, and at best rarely used.
OK, I'll submit a patch for this to fastjar upstream.
I submitted a patch for this upstream that creates a no-op -i option for compatibility. I'll close this bug when the fix lands in Rawhide.
Patch accepted and committed to gcc HEAD and 4.1 branches.
This landed in Rawhide with libgcj-4.1.0-1. Closing.