Compatability and Versions

BeanShell Compatability and Versions

BeanShell 3.x (currently in development on the project's main branch) targets Java 8 at runtime, and building it from source requires JDK 8 or newer.

As of BeanShell 2.1.0 the 2.x branch requires a minimum of Java 6 to run, for backwards compatibility purposes. Earlier BeanShell releases (1.3.x and 2.0 beta releases through 2.0b5) supported Java versions back to 1.1.x, with certain features only available in later versions:

Note that the basic syntax of BeanShell remains the same on all versions of Java. This includes "Java 5.0" style syntax such as the enhanced for-loop, auto-boxing, etc. These features are part of the BeanShell language syntax and do not depend on the hosting Java VM.