bsh2 - Lightweight Scripting for Java

Property Value
Distribution RPM Universal
Repository JPackage 5.0 all
Package name bsh2
Package version 2.0
Package release 0.b5.1.jpp5
Package architecture noarch
Package type rpm
Installed size 707.73 KB
Download size 672.21 KB
Official Mirror
BeanShell is a small, free, 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. BeanShell supports scripted objects as
simple method closures like those in Perl and JavaScript(tm).
You can use BeanShell interactively for Java experimentation and
debugging or as a simple scripting engine for your applications. In
short: BeanShell is a dynamically interpreted Java, plus some useful
stuff. Another way to describe it is to say that in many ways BeanShell
is to Java as Tcl/Tk is to C: BeanShell is embeddable - You can call
BeanShell from your Java applications to execute Java code dynamically
at run-time or to provide scripting extensibility for your applications.
Alternatively, you can call your Java applications and objects from
BeanShell; working with Java objects and APIs dynamically. Since
BeanShell is written in Java and runs in the same space as your
application, you can freely pass references to "real live" objects into
scripts and return them as results.


Package Version Architecture Repository
bsh2-2.1-0.b5.1.jpp6.noarch.rpm 2.1 noarch JPackage 6.0
bsh2-2.0-0.b5.2.jpp6.noarch.rpm 2.0 noarch JPackage 6.0 Devel
bsh2 - - -


Name Value
bsf -
jpackage-utils >= 1.7.5
objectweb-asm -


Name Value
bsh2 = 2.0-0.b5.1.jpp5


Type URL
Binary Package bsh2-2.0-0.b5.1.jpp5.noarch.rpm
Source Package bsh2-2.0-0.b5.1.jpp5.src.rpm

Install Howto

Fedora, CentOS, RHEL:
  1. Download latest jpackage-release rpm from
  2. Install jpackage-release rpm:
    # rpm -Uvh jpackage-release*rpm
  3. Install bsh2 rpm package:
    # yum install bsh2
  1. Add the JPackage 5.0 repository:
    # zypper addrepo jpackage-5.0
  2. Install bsh2 rpm package:
    # zypper install bsh2
Mandriva, Mageia:
  1. Add the JPackage 5.0 repository:
    # urpmi.addmedia jpackage-5.0 with
  2. Update packages list:
    # urpmi.update -a
  3. Install bsh2 rpm package:
    # urpmi bsh2




2008-10-01 - Ralph Apel <r.apel at> 0:2.0-0.b5.1.jpp5
- 2.0b5
2007-12-18 - Ralph Apel <r.apel at> 0:2.0-0.b4.2jpp
- Add org.beanshell:bsh to depmap frags
2007-07-20 - Ralph Apel <r.apel at> 0:2.0-0.b4.1jpp
- Upgrade to 2.0-b4
- Activate tests
- Include minimal bshservlet
- Add poms and depmap frags
- Include full jar
- Make Vendor, Distribution based on macro
- Add gcj_support option
2006-05-19 - Fernando Nasser <> 0:2.0-0.b1.9jpp
- First JPP 1.7 build
2005-03-16 - Ralph Apel <r.apel at> 0:2.0-0.b1.8jpp
- Patch to adapt to asm-1.5.3
- Buildrequire asm >= 0:1.5.3
2005-02-16 - Ralph Apel <r.apel at> 0:2.0-0.b1.7jpp
- But build with javac 1.4.2
2005-02-06 - David Walluck <> 0:2.0-0.b1.6jpp
- add patch for building with javac 1.5
- add patch for javadoc crosslinking
- add non-versioned javadoc link
- fix demo execution
- modernize spec
2004-08-20 - Ralph Apel <r.apel at> 0:2.0-0.b1.5jpp
- Build with ant-1.6.2
2004-01-27 - David Walluck <> 0:2.0-0.b1.4jpp
- new jedit patch
2004-01-26 - David Walluck <> 0:2.0-0.b1.3jpp
- really drop readline patch
- don't add servlet to build classpath

See Also

Package Description
bsh2-bsf-2.0-0.b5.1.jpp5.noarch.rpm BSF support for bsh2
bsh2-classgen-2.0-0.b5.1.jpp5.noarch.rpm ASM support for bsh2
bsh2-demo-2.0-0.b5.1.jpp5.noarch.rpm Demos for bsh2
bsh2-javadoc-2.0-0.b5.1.jpp5.noarch.rpm Javadoc for bsh2
bsh2-manual-2.0-0.b5.1.jpp5.noarch.rpm Manual for bsh2
buildmagic-2.0-0.20030518.2.jpp5.noarch.rpm JBoss buildmagic tasks module
c3p0- JDBC DataSources/Resource Pools
c3p0-javadoc- Javadoc for c3p0
cargo-0.9-5.jpp5.noarch.rpm Cargo container wrapper
cargo-javadoc-0.9-5.jpp5.noarch.rpm Javadoc for cargo
cargo-maven-plugin-0.9-5.jpp5.noarch.rpm Cargo Maven Plugin
cargo-maven2-plugin-0.9-5.jpp5.noarch.rpm Cargo Maven2 Plugin
carol-2.2.7-2.jpp5.noarch.rpm CAROL: Common Architecture for RMI ObjectWeb Layer
carol-cmi-1.2.7-2.jpp5.noarch.rpm CMI: "Cluster aware" distribution protocol
carol-cmi-javadoc-1.2.7-2.jpp5.noarch.rpm Javadoc for carol-cmi