Here is something similar that I wrote for connecting a Clojure REPL to a Clojure/Java process:
the cost is running an nrepl server in the jvm, but if you can manage that you could probably just reuse our client (I'm in the middle of pushing all jark functionality into the server so that the client is just an nrepl client and a repl)
[1] https://github.com/icylisper/jark-server [2] https://github.com/icylisper/jark-client