Yes to everything Isaiah said.
If your concern is merely writing C glue code, but you are happy to use JNI to call Julia functions directly, then that is a good possibility. JavaCall currently focusses on calling Java from C, but the JNI API is the same both ways. Which means you can use the code in JavaCall to make things easier. In particular, JavaCall will give you the representation of JNIEnv on the Julia side, and conversion functions from basic Java types to Julia types. Which means that once you call into the Julia function, you can then access java parameters and return Julia values back to java. All in all, it should simple to do all that ... I haven't done it yet since I don't need that functionality myself.
Regards
-
Avik