Skip to main content

Nashorn

  • Chapter
  • First Online:
  • 2082 Accesses

Abstract

Nashorn (http://openjdk.java.net/projects/nashorn/) is the JavaScript engine that was introduced in Java 8 to replace the old engine based on Mozilla Rhino. In Java 8 Nashorn was based on ECMAScript 5. Some new features of ECMAScript 6 have already been implemented in the Nashorn engine in Java 9. The Nashorn-related API is in the module jdk.scripting.nashorn.

This is a preview of subscription content, log in via an institution.

Buying options

eBook
USD   19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   29.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Fu Cheng

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Cheng, F. (2018). Nashorn. In: Exploring Java 9. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3330-6_11

Download citation

Publish with us

Policies and ethics