-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathcompatability.html
More file actions
83 lines (71 loc) · 2.95 KB
/
Copy pathcompatability.html
File metadata and controls
83 lines (71 loc) · 2.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>BeanShell - Compatability and Versions </title>
<link rel="shortcut icon" href="favicon.ico">
<link href="css/my_styles.css" rel="stylesheet" type="text/css">
</head>
<aside>
<nav>
<ul class="menu">
<li><a href="home.html">Home</a>
</li>
<li><a href="intro.html">Intro</a>
</li>
<li> <a href="docs.html">Docs</a>
</li>
<li> <a href="download.html">Download</a>
</li>
<li> <a href="contact.html">Contact</a>
</li>
<li> <a href="https://github.com/beanshell/beanshell/wiki">
Community Wiki</a>
</li>
<li> <a href="developer.html">Developer</a>
</li>
<li> <a href="license.html">License</a>
</li>
<li> <a href="beany.html">Beany</a>
</li>
<li> <a href="http://www.amazon.com/exec/obidos/ASIN/0596002858">
<img alt="Learning Java" src="images/lj2.png" width="100px"> <br>
<span class="small"> Check out my book:<br>
Learning Java,<br>
O'Reilly & Associates </span>
</a>
</li>
</ul>
</nav>
</aside>
<article>
<h1> Compatability and Versions </h1>
<section>
<h2>BeanShell Compatability and Versions</h2>
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.
<p></p>
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:
<p></p>
<ul>
<li><b>Java 1.1</b> Basic BeanShell Interpreter. If the javax.swing package is
supplied in the classpath then the JDK1.2 features below become available.</li>
<li><b>Java 1.2</b> Swing based GUI <a href="v2/manual/desktop.html">Desktop</a>
is available. All AWT and Swing event listeners are supported by bsh scripted
objects.</li>
<li><b>Java 1.3</b> Full language support. Scripted objects can implement
any Java interface types and even listeners.</li>
</ul>
<p></p>
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.
<p></p>
</section>
</body>
</html>