# Fixed VTK Java Wrappers on macOS

**URL:** https://discourse.vtk.org/t/fixed-vtk-java-wrappers-on-macos/7467
**Category:** Development
**Tags:** proposal
**Created:** [December 22, 2021, 11:13am UTC](https://discourse.vtk.org/t/fixed-vtk-java-wrappers-on-macos/7467 "2021-12-22T11:13:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Martin3d](https://discourse.vtk.org/user_avatar/discourse.vtk.org/martin3d/32/4303_2.png) [@Martin3d](https://discourse.vtk.org/u/Martin3d)
#### Post date: [December 22, 2021, 11:13am UTC](https://discourse.vtk.org/t/fixed-vtk-java-wrappers-on-macos/7467/1 "2021-12-22T11:13:08Z")

</div>

Hi,

I just would like to report that running VTK Java wrappers on macOS no longer crashes as long as one use JOGL 2.4.

I have patched JOGL 2.4 so that it can run on Apple M1 and deployed the whole as maven artifacts on Jzy3D Maven repository. The configuration to use can be found [here](https://github.com/jzy3d/jogl-maven-deployer#getting-jogl-24-rc-4-for-macos-bigsur-20211116).

I now get VTK Java wrapper working both on macOS 10.12 and 11.4.

Beside verifying JOGL do not crash anymore on macOS, I have run tests on multiple OS and verified several Java versions as shown below. Tests were made by running Jzy3D applications which also uses JOGL.

 ![image](https://discourse.vtk.org/uploads/default/original/2X/7/7be35781b2790d9487ee4dfc0513587223c1e329.png)

I will soon evaluate the stability of JOGL on Java 17.

A recap of all [known remaining bugs in JOGL 2.4](https://github.com/jzy3d/jogl/issues) can be found in the issue list of this mirror repository.

---

<div class="post-metadata">

### Author: ![toddy](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/t/edb3f5/32.png) [@toddy](https://discourse.vtk.org/u/toddy)
#### Post date: [December 22, 2021, 10:06pm UTC](https://discourse.vtk.org/t/fixed-vtk-java-wrappers-on-macos/7467/2 "2021-12-22T22:06:49Z")

</div>

Nice work.

---

<div class="post-metadata">

### Author: ![Martin3d](https://discourse.vtk.org/user_avatar/discourse.vtk.org/martin3d/32/4303_2.png) [@Martin3d](https://discourse.vtk.org/u/Martin3d)
#### Post date: [March 10, 2022, 3:08pm UTC](https://discourse.vtk.org/t/fixed-vtk-java-wrappers-on-macos/7467/3 "2022-03-10T15:08:22Z")

</div>

Hi,

The use of Java wrappers with JOGL 2.4-rc4 is demonstrated in this [project](https://github.com/jzy3d/vtk-java-wrapper).

For now, it is mainly a place from which you can download pre-built VTK for Java and active it in maven projects. This should become soon a project allowing to get VTK easily from Maven for all platform. I will notify you when this is ready.
