OpenFastTrace 4.12.0: Native Binaries
Table of Contents
With OpenFastTrace 4.12.0, we are adding native command-line executables to the release assets. Until now, running OFT meant downloading the executable JAR and having a suitable JVM available. That remains a good option, especially for Java-based integrations, but it adds a prerequisite that is unnecessary when all you need is the command-line tool.
The native executables are self-contained for the OFT features they include. Download the file for your platform, make it executable where required, and run it:
chmod +x openfasttrace-linux-x64
./openfasttrace-linux-x64 --help
#
What is in the release
The GitHub release for 4.12.0 contains these executables:
openfasttrace-linux-x64for 64-bit x86 Linuxopenfasttrace-linux-arm64for 64-bit ARM Linuxopenfasttrace-macos-arm64for Apple Silicon Macsopenfasttrace-windows-x64.exefor 64-bit Windows
For now, GitHub Releases are the only distribution channel for the native binaries. Find the assets in the OpenFastTrace 4.12.0 release.
The existing executable JAR is still published alongside them. Choose it when you already run OFT on a JVM, embed OFT in a Java-based workflow, or need to load external Java plugin JARs. Native executables contain OFT’s built-in importers, exporters, and reporters, but loading arbitrary external Java plugins is deliberately not part of the native-image setup.
#
Behind the scenes: turning a Java CLI into an executable
The binaries are built with GraalVM Native Image. Instead of distributing bytecode and starting a JVM, the native-image build analyzes the application and packages the code and resources it needs into a platform-specific executable. The result can start directly on its target operating system without a separately installed Java runtime.
That analysis has a practical consequence for OFT. The tool discovers importers, exporters, and reporters as plugins. In a regular JVM run, those components can be found dynamically. A native image needs to know at build time which classes and resources must be retained. It is easy to create an executable that starts successfully while silently omitting an importer or reporter that was not included in the image.
We therefore treat the native build as more than a packaging step. Each target executable is built and exercised on a matching operating system and processor architecture. The integration tests run actual CLI operations against every built-in importer, exporter, and reporter and check their results. This is intended to catch missing service registrations and bundled resources before an asset reaches the release.
#
Size Comparison
GraalVM analyzes which parts of the JVM are needed and includes only those in the finished binary.
| Artifact | Size |
|---|---|
| JAR | 487 kB |
| JRE (OpenJDK) compressed | 61 MB |
| JRE expanded | 192 MB |
| Linux x64 executable | 34 MB |
| Linux ARM executable | 32 MB |
| macOS ARM executable | 32 MB |
| Windows executable | 40 MB |
While the executable is notably larger than the JAR alone, only a small part of the JRE goes into the binary. For example, there are no networking libraries in the binary because OFT does not use them.
Fun Fact:
The Java XML library contributes about 3 MB already.
#
Which download should I use?
If you use the OFT CLI with its built-in functionality, select the native file matching your operating system and CPU architecture. It avoids the JVM installation step and otherwise uses the same command-line interface:
oft trace requirements
If your workflow depends on custom or third-party Java plugin JARs, keep using the executable JAR with a JVM. That is the extensible distribution; native executables are intentionally closed over the built-in feature set.
Checksums are provided with the release assets. Verify the file you download before adding it to a CI image or a developer-tool installation.