Hi,
On OSX 10.8.4 with java version "1.6.0_51", javap does not support the option -constants. Removing this option from the javap command seems to fix the code, but I don't know anything about javap and therefore don't understand what the option is supposed to do in the first place.
/vedang