It's not very well known, but Apache Zeppelin already has one Java
interpreter.
If you look at Apache Beam one [1]  - underneath [2] it has quite generic
facilities to interpreter java code, so you can use it for anything, not
just Java API of Beam.

But Felix's suggestion on using JShell in Java9 as soon as it's released
definitely sounds as a more mature solution.


 1. http://zeppelin.apache.org/docs/0.7.2/interpreter/beam.html
 2. https://github.com/apache/zeppelin/tree/master/beam

--
Alex

On Sat, Jun 24, 2017 at 9:26 PM, Felix Cheung <felixcheun...@hotmail.com>
wrote:

> There has been discussions on leveraging a Java REPL project to create
> such Java interpreter.
>
> Also Java 9 has JShell which seems to target a release in the next few
> months.
>
> ------------------------------
> *From:* Yi Lyu <code...@qq.com>
> *Sent:* Saturday, June 24, 2017 9:17:32 AM
> *To:* users
> *Subject:* Zeppelin can let users write Java code?
>
> hi Team
>     In our company, there are a lot of Java engineers, they are not good
> at Scala, may I ask, Zeppelin can let users write Java code, and then run
> them? Currently, I have tried Scala, Python, and can run it.
>     and, Is there a plan to develop Java Interpreter ?
> ------------------
>  Yi Lyu
>
>

Reply via email to