Sign in

A Rhino walking
A Rhino walking
A migrating Nashorn. Photo by Wolfgang Hasselmann

Nashorn is a JavaScript engine that compiles JavaScript into bytecode that runs on the Java Virtual Machine (JVM). It was added in Java 8 and replaced the outdated Rhino engine (“Nashorn” is the German word for “Rhino”).

One of its common use cases is to serve as a plugin mechanism in Java applications that allows users to create new functions at runtime. This is often incredibly useful in the data analytics area. For example, consider an Excel-like application where users can create custom behaviors by writing strings into cells.

We encountered a similar problem in a robotics application that plots…

Software Engineer and Co-Founder of HEBI Robotics

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store