Dynamic linker API for the Java platform (JEP 276) in JDK 9 Early Access defines dynamic linker API for the Java platform. Using this API, different language runtimes implemented for the Java platform can interoperate with each other.
Nashorn JavaScript engine has been a part of JDK platform since JDK 8. Jython is an implementation of the Python programming language designed to run on the Java platform. In this blog entry, I'll demonstrate
seamless access of Python objects from a Nashorn script!
My directory structure looks as follows:
jjs jython_linker.js
The output looks as follows:
Very helpful article, I like especially a step by step presentation. Thank You very much.