Hmmm... I'm not sure why you would want to print help on non-standard options from nsjava, but yes, you're right the JavaOption feature only allows you to specify system properties (it prepends -D) to each passed in option. I can fix this, by removing the -D prepend and passing the options in directly. You would then end up with something like:
ns_param JavaOption "-Dcompiler=none"
ns_param JavaOption "-X"