panchalhitesh / capstan-example-java

Capstan example project for Java applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 https://raw.githubusercontent.com/cloudius-systems/capstan/master/scripts/download | 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 git@github.com:cloudius-systems/capstan-example-java.git

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!

About

Capstan example project for Java applications


Languages

Language:Java 100.0%