./gradlew distTar
-### Building a native binary with GraalVM
+### Building a native binary with GraalVM (EXPERIMENTAL)
It is possible to build a native binary with [GraalVM](https://www.graalvm.org).
+This is still experimental and will not work in all situations.
1. [Install GraalVM and setup the enviroment](https://www.graalvm.org/docs/getting-started/#install-graalvm)
2. [Install prerequisites](https://www.graalvm.org/reference-manual/native-image/#prerequisites)
-2. Execute Gradle:
+3. Execute Gradle:
- ./gradle nativeImage
+ ./gradlew assembleNativeImage
- The binary is available at
-
- build/native-image/signal-cli
+ The binary is available at *build/native-image/signal-cli*
## Troubleshooting
If you use a version of the Oracle JRE and get an InvalidKeyException you need to enable unlimited strength crypto. See https://stackoverflow.com/questions/6481627/java-security-illegal-key-size-or-default-parameters for instructions.