Capstan example project for Java applications
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Capstan Java example project

This is an example Capstan project for building and running Java applications on OSv.

To try it out, first install Capstan:

curl | bash

If you're running on Linux, Capstan will use QEMU/KVM as the default hypervisor and on OS X, it will use VirtualBox.

Next step, clone this repository:

git clone

two alternatives to run the application, with or without Capstanfile

  • Using a Capstanfile
capstan run 
  • Using a Jar file directly using Apache Maven, without a Capstanfile
mvn package

Run Capstan with the result Jar file as parameter:

capstan run target/capstan-example-java-1.0-SNAPSHOT.jar

That's it!