bsh2 - Lightweight Scripting for Java (BeanShell Version 2.x)

Distribution: openSUSE 42.1
Repository: openSUSE JAVA all
Package name: bsh2
Package version: 2.0.0.b6
Package release: 59.73
Package architecture: noarch
Package type: rpm
Installed size: 732.38 KB
Download size: 378.46 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. With version 2.0 BeanShell becomes a fully Java compatible scripting language. BeanShell is now capable of interpreting ordinary Java source and loading .java source files from the class path. BeanShell scripted classes are fully typed and appear to outside Java code and via reflective inspection as ordinary classes. However their implementation is fully dynamic and they may include arbitrary BeanShell scripts in their bodies, methods, and constructors. Users may now freely mix loose, unstructured BeanShell scripts, method closures, and full scripted classes.



  • bsh2 = 2.0.0.b6-59.73


    Install Howto

    1. Add the openSUSE JAVA repository:
      # zypper addrepo opensuse-java
    2. Install bsh2 rpm package:
      # zypper install bsh2


    • /usr/bin/bsh2
    • /usr/bin/bsh2doc
    • /usr/share/bsh2/
    • /usr/share/bsh2/bshservlet/index.html
    • /usr/share/bsh2/bshservlet/META-INF/MANIFEST.MF
    • /usr/share/bsh2/bshservlet/WEB-INF/web.xml
    • /usr/share/doc/packages/bsh2/LICENSE
    • /usr/share/java/bsh2/bsh-2.0.0.b6.jar
    • /usr/share/java/bsh2/bsh-classpath-2.0.0.b6.jar
    • /usr/share/java/bsh2/bsh-classpath.jar
    • /usr/share/java/bsh2/bsh-commands-2.0.0.b6.jar
    • /usr/share/java/bsh2/bsh-commands.jar
    • /usr/share/java/bsh2/bsh-core-2.0.0.b6.jar
    • /usr/share/java/bsh2/bsh-core.jar
    • /usr/share/java/bsh2/bsh-engine-2.0.0.b6.jar
    • /usr/share/java/bsh2/bsh-engine.jar
    • /usr/share/java/bsh2/bsh-reflect-2.0.0.b6.jar
    • /usr/share/java/bsh2/bsh-reflect.jar
    • /usr/share/java/bsh2/bsh-util-2.0.0.b6.jar
    • /usr/share/java/bsh2/bsh-util.jar
    • /usr/share/java/bsh2/bsh.jar
    • /usr/share/maven-metadata/bsh2.xml
    • /usr/share/maven-poms/JPP.bsh2-bsh-bsf.pom
    • /usr/share/maven-poms/JPP.bsh2-bsh-classgen.pom
    • /usr/share/maven-poms/JPP.bsh2-bsh-classpath.pom
    • /usr/share/maven-poms/JPP.bsh2-bsh-commands.pom
    • /usr/share/maven-poms/JPP.bsh2-bsh-core.pom
    • /usr/share/maven-poms/JPP.bsh2-bsh-engine.pom
    • /usr/share/maven-poms/JPP.bsh2-bsh-reflect.pom
    • /usr/share/maven-poms/JPP.bsh2-bsh-util.pom
    • /usr/share/maven-poms/JPP.bsh2-bsh.pom


    2016-03-16 - - Add reproducible.patch to fix build-compare

    2016-02-23 - - Version update to 2.0b6 bnc#967593 CVE-2016-2510 * Upstream developement moved to github * No obvious changelog apart from the above - Refreshed/updated patches: * bsh-2.0b5-docs.patch * bsh2-ClassGeneratorUtil.patch * bsh2-asm.patch * bsh2-fix-tests.patch - Delete needless patch: * bsh2-standard-script-api.patch - Update version in .pom files

    2015-03-24 - - Fix the pom's to not require network and thus pass parser validation

    2015-03-18 - - Fix build with new javapackages-tools

    2014-07-08 - - Cleanup with spec-cleaner. - Fix few rpmlint complaints - Kill src package as nothing seem to depend on it and it is pointless.

    2014-07-08 - - Change the bytecode stuff.

    2014-05-15 - - disable bytecode check on sle_11 - disable post-build-check on SLE_11 due to FHS 2.2 errors

    2014-02-06 - - Fix license tag to SPL-1.0 or LGPL-2.0+ (bnc#862426) - Encure License.txt is part of main package (bnc#862426)

    2013-09-09 - - Move from jpackage-utils to javapackage-tools

    2013-08-28 - - use add_maven_depmap from javapackages-tools - unversioned javadoc dir