Skip to content

cloudius-systems/capstan-example-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected]: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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages