bsh2 - Lightweight Scripting for Java

Distribution: RPM Universal
Repository: JPackage 6.0 all
Package name: bsh2
Package version: 2.1
Package release: 0.b5.1.jpp6
Package architecture: noarch
Package type: rpm
Installed size: 1.06 MB
Download size: 1.01 MB
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.



  • bsh2 = 2.1-0.b5.1.jpp6


    Install Howto

    Fedora, CentOS, RHEL:
    1. Download the 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 6.0 repository:
      # zypper addrepo jpackage-6.0
    2. Install bsh2 rpm package:
      # zypper install bsh2
    Mandriva, Mageia:
    1. Add the JPackage 6.0 repository:
      # urpmi.addmedia jpackage-6.0 with
    2. Update packages list:
      # urpmi.update -a
    3. Install bsh2 rpm package:
      # urpmi bsh2


    • /etc/maven/fragments/bsh2
    • /usr/bin/bsh2
    • /usr/bin/bsh2doc
    • /usr/share/bsh2/
    • /usr/share/bsh2/bshservlet/index.html
    • /usr/share/bsh2/bshservlet-wbsh/index.html
    • /usr/share/bsh2/bshservlet-wbsh/META-INF/MANIFEST.MF
    • /usr/share/bsh2/bshservlet-wbsh/WEB-INF/web.xml
    • /usr/share/bsh2/bshservlet-wbsh/WEB-INF/lib/bsh-2.1b5.jar
    • /usr/share/bsh2/bshservlet/META-INF/MANIFEST.MF
    • /usr/share/bsh2/bshservlet/WEB-INF/web.xml
    • /usr/share/java/bsh2/bsh-2.1.jar
    • /usr/share/java/bsh2/bsh-classpath-2.1.jar
    • /usr/share/java/bsh2/bsh-classpath.jar
    • /usr/share/java/bsh2/bsh-commands-2.1.jar
    • /usr/share/java/bsh2/bsh-commands.jar
    • /usr/share/java/bsh2/bsh-core-2.1.jar
    • /usr/share/java/bsh2/bsh-core.jar
    • /usr/share/java/bsh2/bsh-reflect-2.1.jar
    • /usr/share/java/bsh2/bsh-reflect.jar
    • /usr/share/java/bsh2/bsh-util-2.1.jar
    • /usr/share/java/bsh2/bsh-util.jar
    • /usr/share/java/bsh2/bsh.jar
    • /usr/share/maven2/poms/JPP.bsh2-bsh-bsf.pom
    • /usr/share/maven2/poms/JPP.bsh2-bsh-classgen.pom
    • /usr/share/maven2/poms/JPP.bsh2-bsh-classpath.pom
    • /usr/share/maven2/poms/JPP.bsh2-bsh-commands.pom
    • /usr/share/maven2/poms/JPP.bsh2-bsh-core.pom
    • /usr/share/maven2/poms/JPP.bsh2-bsh-reflect.pom
    • /usr/share/maven2/poms/JPP.bsh2-bsh-util.pom
    • /usr/share/maven2/poms/JPP.bsh2-bsh.pom


    2011-12-05 - Ralph Apel <r.apel at> 0:2.1-0.b5.1 - 2.1 fork

    2011-12-04 - Ralph Apel <r.apel at> 0:2.0-0.b5.2 - First JPP-6 release

    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