[X3D-Ecosystem] Using native-image to build CommandLine.exe

John Carlson yottzumm at gmail.com
Mon Jul 28 06:31:11 PDT 2025


Here's a command to build a database with an agent, by runnings all the
commands that you want to optimize, and then compile the X3DJSAIL jar into
CommandLine.exe
https://github.com/coderextreme/X3DJSONLD/blob/master/ni.sh

I believe all of this is rather experimental on Oracle's part, and I am in
the process of benchmarking JIT against AOT compiling.

If you just want to validate, I have a database here I've run on a
selection of around 200 files. Not all the ones in my collection.  If you
find one of yours validates with running the java CommandLine command, but
doesn't validate with CommandLine.exe, please file an issue with X3DJSONLD
on github.

https://github.com/coderextreme/X3DJSONLD/tree/master/src/main/resources/META-INF/native-image

I am very excited to be able to build a native image, I struggled a bit
with AI, but the key was to merge all the commands into a single database,
so I have a loop in the script on the link.
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-ecosystem_web3d.org/attachments/20250728/c34c5558/attachment.html>


More information about the X3D-Ecosystem mailing list