Building Ion Fusion
Prerequisites:
- Install a Java runtime, version 17 or later. We recommend Amazon Corretto.
- This project builds for Java 8, but its Gradle tooling requires 17.
- Install Git.
- Ensure that
javaandgitare on your shell'sPATH.
Building from source should be straightforward:
git clone https://github.com/ion-fusion/fusion-java.git
cd fusion-java
./gradlew build
After a successful build, you'll have a basic SDK under sdk/build/install/ion-fusion-sdk.
The notable artifacts within that directory are:
bin/fusionis thefusionCLIdocs/fusion.htmlis the documentation for the Ion Fusion languagedocs/javadoc/index.htmlis the documentation embedding Ion Fusion in your Java applicationlibholds the jars needed for embedding
To experiment with the CLI, add the bin to your path:
PATH=$PATH:$PWD/sdk/build/install/ion-fusion-sdk/bin
fusion help
That should give you an overview of the CLI's subcommands.
What's Next?
With the fusion CLI ready to go, you can follow the CLI tutorial and run
some code!