Hi,
I have had absolutely no luck whatsoever. I've tried all possible
variants with both jdk 8 and jdk 11, but, they all end in failure with
the same error:
Java 15 has removed Nashorn, you must provide an engine for running
JavaScript yourself. GraalVM JavaScript currently is the preferred option.
BUILD FAILED
/Users/jeremycavanagh/Downloads/netbeans-12.3-beta2-source/nbbuild/build.xml:509:
The following error occurred while executing this line:
/Users/jeremycavanagh/Downloads/netbeans-12.3-beta2-source/nbbuild/build/langtools/make/build.xml:91:
Unable to create javax script engine for javascript
All requirements as far as I can tell are satisfied:
$ java -version
openjdk version "11.0.9.1" 2020-11-04 LTS
OpenJDK Runtime Environment Zulu11.43+55-CA (build 11.0.9.1+1-LTS)
OpenJDK 64-Bit Server VM Zulu11.43+55-CA (build 11.0.9.1+1-LTS, mixed mode)
$ js -version
GraalVM JavaScript (GraalVM CE Native 21.0.0)
$ ant -version
Apache Ant(TM) version 1.10.9 compiled on September 27 2020
I have used, the following build commands:
$ant
$ant build
$ant build -Dpermit.jdk9.builds=true
My searching on the internet led me to:
https://bugs.openjdk.java.net/browse/JDK-8243000
https://lists.apache.org/x/thread.html/r218c7d21ee1933ea65a206bc906824d557c23aa17ab67f86a1336a0f@%3Cdev.netbeans.apache.org%3E
Unfortunately, neither provides any help.
I normally don't try building from source having succeeded once in the
last few years, but, want to do so to aid my understanding of NetBeans
and try some of my own ideas.
Any ideas, suggestions or corrections to my attempts would be very much
appreciated.
Regards to all,
Jeremy
P.S., Stay Home, Stay Safe & Stay Healthy
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists