Why are you trying to do this? Nashorn should be part of the JRE. Which JRE/JDK are you using?
--emi On Tue, Oct 25, 2016 at 3:20 PM, RAVI KIRAN <ravikirans1...@gmail.com> wrote: > Hello Team, > > Good Evening. Hope you all doing great. I have been going through some of > videos and blogs to understand Nashorn. We have requirement to upgrade > Existing Java Script Engine(Rhino) to Nashorn. > > Current Rhino script engine is encapsulated as jar file and placed in our > Integration environment where the JAR file is used to build Java Interfaces > > Now Request is to replace Rhino jar with Nashorn JAR and existing code > should work as expected. Hence I need help to Build a Nashorn JAR file > which has all calsses imported from Java 1.8. Though i found some blog > about building Nashorn which is not much clear to me > > *https://wiki.openjdk.java.net/display/Nashorn/Building+Nashorn > <https://wiki.openjdk.java.net/display/Nashorn/Building+Nashorn>* > > We use Linux environment and Nashorn JAR should be built on the same > > I couldn't find standard Nashorn JAR for download. Please assist how can i > Build a Jar File in detail or can i download it from any specific location. > > Suggestion of Building new JAR is highly Appreciated. > > Thanks for your understanding > > Regards > Ravi kiran >