My code is using rhino javascript engine in jdk 1.6/jdk 1.8 (with external rhino jars). Is there anyway I can implement nashorn javascript engine in jdk 1.6?
Asked
Active
Viewed 61 times
1 Answers
1
No. Nashorn uses invokedynamic which implies that you've to be on jdk7 at the minimum. Also I think jdk 8 Java constructs are used in the nashorn code - which implies that you've to be on jdk8+.

A. Sundararajan
- 4,277
- 1
- 15
- 30