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

Property Value
Distribution openSUSE Leap 15.0
Repository openSUSE JAVA all
Package name bsh2
Package version 2.0.0.b6
Package release lp150.73.1
Package architecture noarch
Package type rpm
Installed size 763.36 KB
Download size 402.94 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.


Package Version Architecture Repository
bsh2-2.0.0.b6-lp150.2.44.noarch.rpm 2.0.0.b6 noarch openSUSE Oss
bsh2 - - -


Name Value
bsf -
java-headless -
javapackages-tools -
objectweb-asm -


Name Value
bsh2 = 2.0.0.b6-lp150.73.1
mvn(org.beanshell:beanshell) = 2.0b6
mvn(org.beanshell:beanshell:pom:) = 2.0b6
mvn(org.beanshell:bsh-bsf) = 2.0b6
mvn(org.beanshell:bsh-bsf:pom:) = 2.0b6
mvn(org.beanshell:bsh-classgen) = 2.0b6
mvn(org.beanshell:bsh-classgen:pom:) = 2.0b6
mvn(org.beanshell:bsh-classpath) = 2.0b6
mvn(org.beanshell:bsh-classpath:pom:) = 2.0b6
mvn(org.beanshell:bsh-commands) = 2.0b6
mvn(org.beanshell:bsh-commands:pom:) = 2.0b6
mvn(org.beanshell:bsh-core) = 2.0b6
mvn(org.beanshell:bsh-core:pom:) = 2.0b6
mvn(org.beanshell:bsh-engine) = 2.0b6
mvn(org.beanshell:bsh-engine:pom:) = 2.0b6
mvn(org.beanshell:bsh-reflect) = 2.0b6
mvn(org.beanshell:bsh-reflect:pom:) = 2.0b6
mvn(org.beanshell:bsh-util) = 2.0b6
mvn(org.beanshell:bsh-util:pom:) = 2.0b6
mvn(org.beanshell:bsh2) = 2.0b6
mvn(org.beanshell:bsh2:pom:) = 2.0b6


Type URL
Binary Package bsh2-2.0.0.b6-lp150.73.1.noarch.rpm
Source Package bsh2-2.0.0.b6-lp150.73.1.src.rpm

Install Howto

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




2018-05-16 -
- Modified patch:
* beanshell-2.0b6-target.patch
+ Build with source and target 8 to prepare for a possible
removal of 1.6 compatibility
2017-09-20 -
- Build with whatever is the default java-devel provider
- Modified patch:
* beanshell-2.0b6-target.patch
+ specify target and source consistently
+ fix classpath issue with javadoc generation
- Added patch:
* beanshell-2.0b6-getpeer.patch
+ fix build with jdk9
+ access the inacessible APIs by reflection
2017-09-07 -
- Added patch:
* beanshell-2.0b6-target.patch
- Force java target level to 1.6
- Force java source and target levels to 1.6 in order to allow
building with jdk9
- Force building with java-1_8_0-openjdk-devel since javadoc errors
are fatal in jdk9
2017-05-19 -
- Update package dependencies
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.

See Also

Package Description
bsh2-bsf-2.0.0.b6-lp150.73.1.noarch.rpm BSF support for bsh2
bsh2-classgen-2.0.0.b6-lp150.73.1.noarch.rpm ASM support for bsh2
bsh2-demo-2.0.0.b6-lp150.73.1.noarch.rpm Demonstrations and samples for bsh2
bsh2-javadoc-2.0.0.b6-lp150.73.1.noarch.rpm Javadoc for bsh2
bsh2-manual-2.0.0.b6-lp150.73.1.noarch.rpm Documentation for bsh2
byaccj-1.14-lp150.31.1.i586.rpm Parser Generator with Java Extension
byaccj-1.14-lp150.31.1.x86_64.rpm Parser Generator with Java Extension
bytelist-1.0.14-lp150.40.1.noarch.rpm A java library for lists of bytes
c3p0- JDBC DataSources/Resource Pools
c3p0-javadoc- Javadoc for c3p0
cal10n-0.7.7-lp150.28.1.noarch.rpm Compiler assisted localization library (CAL10N)
cal10n-javadoc-0.7.7-lp150.28.1.noarch.rpm Javadoc for cal10n
cglib-2.2-lp150.32.1.noarch.rpm Code Generation Library
cglib-javadoc-2.2-lp150.32.1.noarch.rpm Code Generation Library
chameleon-0.2-lp150.10.1.noarch.rpm Common schema transformation tool