Nashorn is an open-source, JVM-based JavaScript engine. It replaced the Rhino JavaScript engine starting in Java 8.
Nashorn (pronounced Naz-horn, German word for "rhinoceros.") is an Oracle project included with JDK 8, intended to be a faster replacement for Rhino, the current JavaScript engine that ships with the JVM 7.
Nashorn can be used as a ScriptEngine or as a standalone tool (jjs).
Resources:
- Official blog
- JDK8 EA includes a pre-release of Nashorn
- Nashorn wikipedia page
- Simple jjs walkthrough