Simplest rust <-> java/scala binding?

TLDR: Is there anything like pyo3 for java/scala ?

Details:

I want something to allow rust <-> scala bindings. Mainly I want to be able to call Rust from Scala. Scala serves as the "repl", Rust code provides some primitives.

pyo3 is nice in that it boils down to (1) add this crate dependency, (2) tag structs/functions with these macros, (3) run this build process, and (4) everything magically works.

Is there something similar for accessing Rust primitives from java/scala ?