bsh2 - Lightweight Scripting for Java

Property Value
Distribution RPM Universal
Repository JPackage 6.0 Devel all
Package filename bsh2-2.0-0.b5.2.jpp6.noarch.rpm
Package name bsh2
Package version 2.0
Package release 0.b5.2.jpp6
Package architecture noarch
Package type rpm
Homepage -
License -
Maintainer -
Download size 701.72 KB
Installed size 739.81 KB
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.1.jpp5.noarch.rpm 2.0 noarch JPackage 5.0
bsh2 - - -


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


Name Value
bsh2 = 2.0-0.b5.2.jpp6


Type URL
Binary Package bsh2-2.0-0.b5.2.jpp6.noarch.rpm
Source Package bsh2-2.0-0.b5.2.jpp6.src.rpm

Install Howto

Fedora, CentOS, RHEL:
  1. Create the repository config file /etc/yum.repos.d/jpackage-generic-6.0-devel.repo:
    name=JPackage (free), generic
  2. Install bsh2 rpm package:
    # yum install bsh2
  1. Add the JPackage 6.0 Devel repository:
    # zypper addrepo jpackage-6.0-devel
  2. Install bsh2 rpm package:
    # zypper install bsh2
Mandriva, Mageia:
  1. Add the JPackage 6.0 Devel repository:
    # urpmi.addmedia jpackage-6.0-devel with
  2. Update packages list:
    # urpmi.update -a
  3. Install bsh2 rpm package:
    # urpmi bsh2




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
2004-01-27 - David Walluck <> 0:2.0-0.b1.4jpp
- new jedit patch

See Also

Package Description
bsh2-bsf-2.0-0.b5.2.jpp6.noarch.rpm BSF support for bsh2
bsh2-classgen-2.0-0.b5.2.jpp6.noarch.rpm ASM support for bsh2
bsh2-demo-2.0-0.b5.2.jpp6.noarch.rpm Demos for bsh2
bsh2-javadoc-2.0-0.b5.2.jpp6.noarch.rpm Javadoc for bsh2
bsh2-manual-2.0-0.b5.2.jpp6.noarch.rpm Manual for bsh2
cglib21-2.1.3-1.jpp6.noarch.rpm Code Generation Library
cglib21-demo-2.1.3-1.jpp6.noarch.rpm Samples for cglib21
cglib21-javadoc-2.1.3-1.jpp6.noarch.rpm Javadoc for cglib21
cglib21-nohook-2.1.3-1.jpp6.noarch.rpm Cglib without aspectwerkz hook
cglib21-repolib-2.1.3-1.jpp6.noarch.rpm Artifacts to be uploaded to a repository library
colapi-1.0.0-1.jpp6.noarch.rpm Javadoc Colorize maven plugin
colapi-javadoc-1.0.0-1.jpp6.noarch.rpm Javadocs for colapi
cometd-java-api-1.0.1-1.jpp6.noarch.rpm Cometd Java API
cometd-java-api-api-1.0.1-1.jpp6.noarch.rpm API for cometd-java-api
cometd-java-api-javadoc-1.0.1-1.jpp6.noarch.rpm Javadoc for cometd-java-api