jextractGUI is a GUI wrapper for the jextract tool written in JavaFX. If offers several benefits over using the command line tool:
- Symbol inspection and filtering. No need to dump symbols into an
@argfileand manually specify the ones to include. - Detailed presentation of the header symbols.
- Automatic command creation for inspection or copying into a CLI/script. The CLI uses error-prone unchecked strings.
- Ease of use when working with multiple headers at once.
Instructions akin to -help are provided through the help buttons.
Pre-built executables (using jpackage) for Windows, Linux, and MacOS are available under Releases. Supported architectures mirror jextract's support. Java and jextract dependencies are included (there's no need to download anything else).
- From Gradle: use the provided Gradle wrapper.
compileJava/builddownload the jextract dependencies.runstarts the application.jpackageImagebuilds the executables.
- From the IDE:
- Compile with
--enable-preview. - Run with
--enable-preview --enable-native-access=org.openjdk.jextract. - The
libdirectory might need to be added tojava.library.path(or to any directory it includes by default).
- Compile with
💡Tracing of native calls can be enabled with -Djextract.trace.downcalls=true for both the pre-built executables and local builds.
🔌IDE developers are welcome to create an integration (e.g., via a plugin) based on this work into their IDE.
