Enter the option provided by your compiler to generate such stubs.
If your compiler does not use options to provide such functionality, you may need to write a wrapper script that does provide such an option, and use that wrapper script as your RMI compiler.