-
Notifications
You must be signed in to change notification settings - Fork 392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java support #454
Comments
I'm on a team that uses Java for interacting with Spark and I'd like the ability to run Java code in a notebook. What are the blockers that prevent using Java in a notebook? |
Welcome, @sjparsons! Thanks for your interest in Polynote :) Java is definitely high on the list of new languages we'd like to add, but we just haven't gotten there yet. We're planning to add some rough developer documentation soon, but the main part of adding a new language is implementing this interface: https://github.com/polynote/polynote/blob/master/polynote-kernel/src/main/scala/polynote/kernel/interpreter/Interpreter.scala A PR would be most welcome! |
Once we get Java, I guess all other JVM language could be integrated as well (e.g Clojure)? |
a partial workaround when using Java libraries requiring POJO from Scala is the usage of annotation for classes (please ignore this comment if you already mentioned it): |
Some Java libraries take in POJOs for ser/de, etc.
It would be easier to work with those libraries if we could define POJOs in Polynote (instead of Scala classes).
The text was updated successfully, but these errors were encountered: