Saker.build has a single and only dependency on the Java Runtime Environment (JRE). In order to use it you first need to install it for your operating system of choice.
- Install an appropriate Java Development Kit (version 8+)
- Download the saker.build distribution
java -jar saker.build.jar
You can also use command line tools to download a release with a specific version:
curl https://api.nest.saker.build/bundle/download/saker.build-v0.8.9 -o saker.build.jar
Invoke-WebRequest "https://api.nest.saker.build/bundle/download/saker.build-v0.8.9" -OutFile saker.build.jar
You can also use the following commands to download the latest version:
curl https://api.nest.saker.build/bundle/download/saker.build-v$(curl -s https://mirror.nest.saker.build/badges/saker.build/latest.txt) -o saker.build.jar
Invoke-WebRequest "https://api.nest.saker.build/bundle/download/saker.build-v$((Invoke-WebRequest "https://mirror.nest.saker.build/badges/saker.build/latest.txt" -UseBasicParsing).Content)" -OutFile saker.build.jar
The saker.build system can also be added to the supported IDEs as plugins.
Saker.build requires the minimum JRE version of 8. You can download it from AdoptOpenJDK.net or from the Oracle Website. You can also use other installation mechanisms depending on your environment, but in the end, make sure to have a properly configured JVM installed on your machine.
When you're given the choice whether you want to install the JRE or JDK (Java Development Kit), we recommend choosing JDK, as that enables compiling Java sources and contains other development tools.
The build system is distributed as a single self-contained Java Archive. You can download the latest release JAR file using this link.
You can also download older releases by visiting the release archive.
Saker.build support is available for the following Integrated Development Environment(s).
The steps to install the saker.build plugin for Eclipse are the following:
- Open Eclipse and select the Help > Install New Software... menu.
- Enter the
https://saker.build/saker.build.ide.eclipse/update-site/v0.8.9link for the update site. ("Work with:" textbox)
- Select the plugins and install them.
- If you don't see the plugins, uncheck 'Group items by category'. (Eclipse bugs may cause categories to not show up.)
- See the Eclipse plugin introduction for getting started.