[X3D-Ecosystem] Replace Nashorn with GraalJS on web3d.org
John Carlson
yottzumm at gmail.com
Thu Feb 12 15:02:42 PST 2026
Oh, and pull requests for updating the 2 files to V4.1 welcome!
Note that there’s a headless version of X_ITE as well, so there’s no need
for another node-based JavaScript API, there’s one based on X3DJSAIL (my
generated one) and then Holger’s.
But yeah, I’m developing a web-based viewer for X3D JSON, React and
THREE.js. It’s probably getting close to the VRMLLoader and
three-x3d-loader in capability, and even supports at least some animation.
I’m currently looking into font URLs. But SAI is currently non-existent.
While I have a MVP, I don’t really know if it’s close to Interchange
profile yet.
If you’re interested in particular .x3dj files working in the viewer, send
them my way! I feel this API will be more secure than a Schema.
John
On Thu, Feb 12, 2026 at 4:40 PM John Carlson <yottzumm at gmail.com> wrote:
> If you want contributions regarding GraalJS (possibly with regard to node,
> but not preferred) and X3DJSAIL, we can discuss updates to the sourceforge
> repository. Stripping out Pyjnius would be an early task.
>
> Also, GraalPy developments for X3DJSAIL can also be considered.
>
> There are two critical files:
>
>
> https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/graaljs/net/coderextreme/data/X3Dautoclass.js
>
> And
>
>
> https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/graalpy/net/coderextreme/data/x3dpsail.py
>
> Sorry, I haven’t renamed the python package yet.
>
> There are plenty of examples in those folders as well.
>
> I hope you consider upgrading X3dToES6.xslt as well.
>
> Also, this might be worth mentioning:
>
> https://github.com/vmutafov/graalts
>
>
> John
>
> On Thu, Feb 12, 2026 at 4:22 PM John Carlson <yottzumm at gmail.com> wrote:
>
>> No, Don, I am referring to web pages that mention Nashorn or nashorn.
>>
>> We are so past Nashorn and Pyjnius attempts.
>>
>> While GraalJs does support node, I am referring to the Nashorn-like
>> version, it’s called js or jjs in the GraalJs bin folder.
>>
>> I am not referring to anything on sourceforge.
>>
>> GraalJs is an Oracle product which works much better than Pyjnius ever
>> did.
>>
>> John
>>
>> On Wed, Feb 11, 2026 at 10:59 PM Don Brutzman <don.brutzman at gmail.com>
>> wrote:
>>
>>> John, sorry but not clear. Are you referring to the old codebases at
>>>
>>> - x3d / Code / [r38511] /www.web3d.org/x3d/stylesheets/java/node
>>> <https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/java/node/>
>>> -
>>> https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/java/node/
>>>
>>> and
>>>
>>> -
>>> https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/java/src/python/
>>>
>>> Any other directories?
>>>
>>> We haven't touched these for 5 or 6 years. I believe they relate to our
>>> unsuccessful attempt to get PyJNIus to convert X3DJSAIL Java code into
>>> Python.
>>>
>>> These branches are no longer active. This noble attempt never worked
>>> and eventually led to independent production using X3DPSAIL. There is no
>>> need to maintain the old branches.
>>>
>>> I'm not sure how we should handle them... probably mark as legacy (or
>>> possibly delete) and point to your archives. What do you think?
>>>
>>> all the best, Don
>>> --
>>> X3D Graphics, Maritime Robotics, Distributed Simulation
>>> Relative Motion Consulting https://RelativeMotion.info
>>>
>>>
>>> On Wed, Feb 11, 2026 at 5:22 PM John Carlson <yottzumm at gmail.com> wrote:
>>>
>>>> Don and Anita,
>>>>
>>>> Please replace references to “Nashorn” when referencing my work to
>>>> “GraalJS” on Web3D.org. Nashorn is basically historical at this point, and
>>>> is not part of the JDK that I know of anymore.
>>>>
>>>> Thank you!
>>>>
>>>> John
>>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-ecosystem_web3d.org/attachments/20260212/9d8e8e6f/attachment-0001.html>
More information about the X3D-Ecosystem
mailing list