diff --git a/README.html b/README.html index 1556c809..f73771e9 100644 --- a/README.html +++ b/README.html @@ -16,7 +16,7 @@ Getting Started with LuaJ -James Roseborough, Ian Farmer, Version 3.0-beta1 +James Roseborough, Ian Farmer, Version 3.0-beta2
Copyright © 2009-2013 Luaj.org.
@@ -73,6 +73,7 @@ It also includes miscellaneous improvements over luaj 2.0.x:
@@ -197,7 +198,7 @@ You should see the following output:
To see how luaj can be used to acccess most Java API's including swing, try:
@@ -221,8 +222,8 @@ Luaj can compile lua sources or binaries directly to java bytecode if the bcel l
@@ -233,7 +234,7 @@ but the compiled classes must be in the class path at runtime, unless runtime ji
Lua scripts can also be run directly in this mode without precompiling using the lua command with the -b option and providing the bcel library in the class path:
-You must include the library lib/luaj-jse-3.0-beta1.jar in your class path.
+You must include the library lib/luaj-jse-3.0-beta2.jar in your class path.
-You must include the library lib/luaj-jme-3.0-beta1.jar in your midlet jar.
+You must include the library lib/luaj-jme-3.0-beta2.jar in your midlet jar.
An ant script to build and run the midlet is in
@@ -313,7 +314,7 @@ The standard use of JSR-223 scripting engines may be used:
All standard aspects of script engines including compiled statements should be supported.
-You must include the library lib/luaj-jse-3.0-beta1.jar in your class path.
+You must include the library lib/luaj-jse-3.0-beta2.jar in your class path.
A working example may be found in
@@ -324,8 +325,8 @@ A working example may be found in
To compile and run it using Java 1.6 or higher:
Luaj 2.0.x
Support for lua 5.1.x features, plus:
@@ -119,7 +120,7 @@ in comparison with the standard C distribution.
16.794
11.274
Java
- java -cp luaj-jse-3.0-beta1.jar;bcel-5.2.jar lua -b fannkuch.lua 10
+ java -cp luaj-jse-3.0-beta2.jar;bcel-5.2.jar lua -b fannkuch.lua 10
+
@@ -129,7 +130,7 @@ in comparison with the standard C distribution.
36.894
15.163
- java -cp luaj-jse-3.0-beta1.jar lua -n fannkuch.lua 10 java -cp luaj-jse-3.0-beta2.jar lua -n fannkuch.lua 10
diff --git a/examples/maven/pom.xml b/examples/maven/pom.xml
index 12dc190a..c9388f1d 100644
--- a/examples/maven/pom.xml
+++ b/examples/maven/pom.xml
@@ -11,7 +11,7 @@
lua
5.1.4
@@ -185,7 +186,7 @@ It is also faster than Java-lua implementations Jill, Kahlua, and Mochalua for a
From the main distribution directory line type:
- java -cp lib/luaj-jse-3.0-beta1.jar lua examples/lua/hello.lua
+ java -cp lib/luaj-jse-3.0-beta2.jar lua examples/lua/hello.lua
- java -cp lib/luaj-jse-3.0-beta1.jar lua examples/lua/swingapp.lua
+ java -cp lib/luaj-jse-3.0-beta2.jar lua examples/lua/swingapp.lua
Compile lua source to lua bytecode
@@ -206,8 +207,8 @@ To see how luaj can be used to acccess most Java API's including swing, try:
From the main distribution directory line type:
- java -cp lib/luaj-jse-3.0-beta1.jar luac examples/lua/hello.lua
- java -cp lib/luaj-jse-3.0-beta1.jar lua luac.out
+ java -cp lib/luaj-jse-3.0-beta2.jar luac examples/lua/hello.lua
+ java -cp lib/luaj-jse-3.0-beta2.jar lua luac.out
ant bcel-lib
- java -cp "lib/luaj-jse-3.0-beta1.jar;lib/bcel-5.2.jar" luajc -s examples/lua -d . hello.lua
- java -cp "lib/luaj-jse-3.0-beta1.jar;." lua -l hello
+ java -cp "lib/luaj-jse-3.0-beta2.jar;lib/bcel-5.2.jar" luajc -s examples/lua -d . hello.lua
+ java -cp "lib/luaj-jse-3.0-beta2.jar;." lua -l hello
- java -cp "lib/luaj-jse-3.0-beta1.jar;lib/bcel-5.2.jar" lua -b examples/lua/hello.lua
+ java -cp "lib/luaj-jse-3.0-beta2.jar;lib/bcel-5.2.jar" lua -b examples/lua/hello.lua
@@ -258,7 +259,7 @@ A simple example may be found in
Run a script in a MIDlet
@@ -285,7 +286,7 @@ A simple example may be found in
- javac -cp lib/luaj-jse-3.0-beta1.jar examples/jse/ScriptEngineSample.java
- java -cp "lib/luaj-jse-3.0-beta1.jar;examples/jse" ScriptEngineSample
+ javac -cp lib/luaj-jse-3.0-beta2.jar examples/jse/ScriptEngineSample.java
+ java -cp "lib/luaj-jse-3.0-beta2.jar;examples/jse" ScriptEngineSample
Excluding the lua bytecode compiler
@@ -506,7 +507,7 @@ The following lua script will open a swing frame on Java SE:
See a longer sample in examples/lua/swingapp.lua for details, including a simple animation loop, rendering graphics, mouse and key handling, and image loading.
Or try running it using:
- java -cp lib/luaj-jse-3.0-beta1.jar lua examples/lua/swingapp.lua
+ java -cp lib/luaj-jse-3.0-beta2.jar lua examples/lua/swingapp.lua
3.0-beta2
+