# Running Julia from JAVA? What is crazier?

**URL:** <https://discourse.julialang.org/t/running-julia-from-java-what-is-crazier/31662>\
**Category:** General Usage\
**Tags:** java\
**Created:** [November 29, 2019, 3:29pm UTC](https://discourse.julialang.org/t/running-julia-from-java-what-is-crazier/31662 "2019-11-29T15:29:50Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![venuur](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/venuur/32/6493_2.png) [@venuur](https://discourse.julialang.org/u/venuur)\
**Post date:** [November 30, 2019, 4:06am UTC](https://discourse.julialang.org/t/running-julia-from-java-what-is-crazier/31662/3 "2019-11-30T04:06:11Z")

</div>

What you’re doing sounds pretty cool. I’ll follow along to see how it turns out. Since you mention ZMQ and an attached Julis instance. Maybe it’s be worth looking at how Jupyter communicates with IJulia. I understand they use ZMQ for communication. Here’s a thread discussing running a remote REPL via IJulia which is almost what you want:

> [@How to attach to an existing remote REPL?](https://discourse.julialang.org/t/how-to-attach-to-an-existing-remote-repl/27608/22):
>
> Going down this path, even simpler would be to have supervisord starting a tmux session which starts the Julia app. Then one can simply attatch to the tmux session. I just tried it and I can start a new byobu session to start a Genie app with: byobu new-session -s "session\_name" "bin/server" This can be passed to supervisord Update 1 Unfortunately, not so easy… By default supervisord would supervise tmux frowning I think it can be set up so that the Julia app creates a pidfile and superv…

Best of luck!

---

_[View the full topic](https://discourse.julialang.org/t/running-julia-from-java-what-is-crazier/31662)._
