Jato is an implementation of the Java virtual machine. It includes a VM and a JIT compiler for the x86 machine architecture and supports the JNI API. Jato uses Boehm GC as its garbage collector and relies on GNU Classpath to provide essential Java APIs.
- JIT-only execution on x86 architecture
- Uses GNU Classpath for essential classes
- Boehm garbage collector
- Runs on Linux
$ sudo yum install ecj libffi-devel binutils-devel glib2-devel bison llvm-devel llvm-static
$ sudo apt-get install ecj libffi-dev binutils-dev libglib2.0-dev bison llvm-dev
$ pacman -S eclipse-ecj classpath libffi
GNU Classpath needs to be built and installed from sources.
First install dependencies that are required to build GNU Classpath:
$ sudo yum install java-1.7.0-openjdk antlr GConf2-devel gtk2-devel gettext-devel texinfo
$ sudo apt-get install openjdk-6-jdk antlr libgconf2-dev libgtk2.0-dev ecj fastjar pccts
Then download the sources from:
You can then compile GNU Classpath:
$ ./configure --disable-Werror --disable-plugin $ make
and install it to
$ sudo make install
Build and Install
To compile the VM and run all the tests:
$ make check
All tests should pass.
You can now install Jato with:
$ make install
The command installs an executable
Jato uses the same command line options as
To run a class:
$ jato <class name>
To specify classpath, use:
$ jato -cp <jar files or directories> <class name>
You can also execute a Jar file with:
$ jato -jar <jar file>
Jato also supports variety of command line options for debugging and tracing
purposes. See the file
Documentation/options.txt for details.
Copyright © 2005-2013 Pekka Enberg and contributors
Jato is distributed under the GNU General Public License (GPL) version 2 with the following clarification and special exception:
Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.