Lentil is an ECMAscript (Javascript) implementation of a java virtual machine.
It should be possible to use a Canvas element in a browser to offer mostly the same functionality as a traditional java applet, without java.
Furthermore, this could be a foundation on which to build a JVM bytecode to Javascript compiler, allowing the use of non-java languages such as Scala or Clojure.
- Copy (or link)
js.jar
from Rhino into this directory - Unzip
glibj.jar
from Classpath into this directory - Run
scons
to build the java parts and sample programs
Use the go
script as an easy way to launch:
$ ./go Hello
Hello world