JPython can be invoked from the shell using the following command:
jpython [-i] [-showjavaexc] [file | -] [arg]*
-i : inspect interactively after running script
-showjavaexc: display the actual Java exception which was raised (useful for mixed Java/Python debugging)
- : Treat stdin as a file. This flag allows you to use '#!<...>/jpython -' to make executable scripts on Unix
"jpython" is a one line script that invokes your local JVM, sets the java property "python.registry" (or "install.path") to an appropriate value, and then runs the Java classfile "org.python.core.jpython".