I cleaned up my test of call Julia from Java JNI, and the sample code is at:
https://github.com/lwhitefox/JavaJNI2Julia.git
It’s mostly cleaned up and should be pretty clear, though probably not optimal in several ways. There are two Java functions, one getting only singular values from a small test matrix, the other generating a Java object that has full SVD results for the same test matrix.
1 Like