DOKK / manpages / debian 12 / bsh / bsh.1.en
BSH(1) General Commands Manual BSH(1)

bsh - BeanShell: A Java scripting environment (command-line version).

bsh [-classpath path] [file]

BeanShell is a small, embeddable, Java source interpreter with object scripting language features, written in Java. BeanShell executes standard Java statements and expressions, in addition to obvious scripting commands and syntax. You can also script objects as simple method closures like those in Perl and JavaScript(tm).

bsh starts the command-line version of BeanShell.

The program bsh optionally takes a -classpath option which sets the value of the CLASSPATH environment variable to the specified path before starting the BeanShell. This option is mainly provided for compatibility with JDE (Java Development Environment for Emacs).

In addition, a file to be executed may be given as argument to bsh.

xbsh - the windowed version of BeanShell.

More documentation on BeanShell can be found in /usr/share/doc/bsh-doc/ if the bsh-doc package is installed.

This manual page was written by Ruud de Rooij <> for the Debian GNU/Linux system (but may be used by others).