Installation
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
- Run
java -jar saker.build.jar
You can also use command line tools to download a release with a specific version:
cURL:
curl -L https://api.nest.saker.build/bundle/download/saker.build-v0.8.20 -o saker.build.jar
PowerShell:
Invoke-WebRequest "https://api.nest.saker.build/bundle/download/saker.build-v0.8.20" -OutFile saker.build.jar
You can also use the following commands to download the latest version:
cURL:
curl -L 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
PowerShell:
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.
Java
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.
Saker.build
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.
IDEs
Saker.build support is available for the following Integrated Development Environment(s).
IntelliJ IDEs
Saker.build system plugin is available for various JetBrains IDEs. The plugin is available on the JetBrains plugin marketplace. Use the following steps to install:
- Open the File > Settings dialog.
- Select the Plugins page.
- On the Marketplace tab, search for saker.build.
- Select and install the Saker.build system plugin.
- Restart the IDE.
See the IntelliJ plugin section for alternative installations and more information.
Eclipse
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.20
link 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.