[ Full content available at: https://github.com/apache/incubator-netbeans/pull/738 ]
Folks, this will not be that easy. Nashorn binary needs to be distributed, since it is used at runtime, but uses `GPLv2+CPE` license, which is not compatible with Apache distribution AFAIK. I would separate two issues: cleaning up / fixing license so that the code may reside in the repository. This is what this PR is about. Other code can compile against the nashorn classes (compile-time dependency), but that code will not actually run. I filed issue [NETBEANS-1159](https://issues.apache.org/jira/browse/NETBEANS-1159) to explore possible relicensing from the contributor (Oracle). In the meantime, approach similar to NB javac could be used, as the code **can** (IMHO, IANAL) be legally compiled AND distributed, though not using Apache mirrors. See [NETBEANS-1160](https://issues.apache.org/jira/browse/NETBEANS-1160). (This message was relayed via gitbox.apache.org for [email protected])
