Thanks to visit codestin.com
Credit goes to github.com

Skip to content

JamVM (lightweight Java Virtual Machine) but built with CMake

License

Notifications You must be signed in to change notification settings

valpackett/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

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published