Skip to content
Small JVM for Java 1.4 made in Lua
Lua Java Shell
Branch: master
Clone or download

Latest commit

zenith391 Part of JCF
For that i added support for interfaces and some more standard lib classes.
Other features:
String.valueOf(boolean, char or Object)
Improved PrintStream handle of print(Object obj) (notably for null objects)
Latest commit 7112033 Mar 28, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
jvm Part of JCF Mar 28, 2020
std Part of JCF Mar 28, 2020
test Part of JCF Mar 28, 2020
.gitignore Re-format standdard library Mar 17, 2020
LICENSE Initial commit Mar 8, 2020
README.md Add support for ConstantValue field attribute Mar 23, 2020
lukyt.lua Fixed System class timing Mar 17, 2020

README.md

Lukyt

Lukyt is a small JVM made in Lua supporting Java 1.4. It's main advantage is to currently have a very small startup time and use way much less memory.

Roadmap

How to use?

The JVM itself can be used by any program and is independent from the command-line program.

The command line program allows to execute classes. You can print an help message with lua lukyt.lua --help

To launch the HelloWorld test, you can do:

lua lukyt.lua --classpath=test HelloWorld

which will give the same result as:

java -cp test HelloWorld

On my computer, the HelloWorld example used maximum 2.5MB while on the same computer, the OpenJDK's JVM used maximum 13MB.

You can’t perform that action at this time.