-
Notifications
You must be signed in to change notification settings - Fork 5
/
compatability.html
76 lines (65 loc) · 2.61 KB
/
compatability.html
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
<!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 is compatible with Java versions 1.1.x and later. However
certain features are only available with later versions. In particular:
<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="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>