title: JMeter Warning: Nashorn engine is planned to be removed from a future JDK release
body: <p>When I run JMeter 5.1.1 recently downloaded, I see many times in <code>terminal window</code>:</p>
  
  <blockquote>
    <p>Warning: Nashorn engine is planned to be removed from a future JDK
    release</p>
  </blockquote>
  
  <p>I've used web search and found <a href="https://openjdk.java.net/jeps/335" rel="noreferrer">JEP 335: Deprecate the Nashorn JavaScript Engine</a>.</p>
  
  <blockquote>
    <p>Motivation </p>
    
    <p>The Nashorn JavaScript engine was first incorporated into
    JDK 8 via JEP 174 as a replacement for the Rhino scripting engine.
    When it was released, it was a complete implementation of the
    ECMAScript-262 5.1 standard.</p>
    
    <p>With the rapid pace at which ECMAScript language constructs, along
    with APIs, are adapted and modified, we have found Nashorn challenging
    to maintain.</p>
  </blockquote>
  
  <p>I expected to read that new engine is now in more use, but no, I could not find what will run <code>JavaScript</code> in replacement. What would happen with <code>JavaScript</code> in <code>JMeter</code>? It will not run and we use <em>encouraged</em> to use <code>Groovy</code>?</p>
  
  <p>BTW, how to remove that warning from terminal?</p>