Skip to content

challenge-compiler/neojamvm

 
 

Repository files navigation

NeoJamVM

This is a fork of JamVM, a compact Java Virtual Machine that works either as an alternative VM in OpenJDK or a standalone JVM with GNU Classpath. It might not support all the things HotSpot supports, but it does run Jetty :-)

This fork replaces the insufferable autotools build system with CMake and adds fixes for FreeBSD+OpenJDK support.

Not all operating systems, CPU architectures and feature flags work with the new build system. It's currently only tested on FreeBSD/amd64 with OpenJDK 7.

Installation

Something like this:

$ sudo pkg install openjdk cmake ninja
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_BUILD_TYPE=Release -DJAVA_RUNTIME_LIBRARY=openjdk7 -GNinja
$ ninja
$ sudo mkdir /usr/local/openjdk7/jre/lib/amd64/jamvm
$ sudo cp libjvm.so /usr/local/openjdk7/jre/lib/amd64/jamvm/libjvm.so

Usage

$ /usr/local/openjdk7/jre/bin/java -XXaltjvm=jamvm -jar some.jar

About

JamVM (lightweight Java Virtual Machine) but built with CMake

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 82.1%
  • Java 8.3%
  • Assembly 5.4%
  • C++ 2.1%
  • Objective-C 1.7%
  • CMake 0.4%