Hi,

I wanted to review a PR, as its been a while, and I updated my fork of the
latest Apache NetBeans, and I am getting the following error, when I try
either `ant clean` or `ant` - I checked the email archives and I haven't
spotted this error reported before, and I'm struggling to find where this
error message is coming from.

prepare-vanilla-javac:

   [delete] Deleting directory
/Users/john/codebase/netbeans/nbbuild/build/langtools

    [mkdir] Created dir:
/Users/john/codebase/netbeans/nbbuild/build/langtools

    [unzip] Expanding:
/Users/john/codebase/netbeans/nbbuild/external/langtools-9.zip into
/Users/john/codebase/netbeans/nbbuild/build/langtools

Java 15 has removed Nashorn, you must provide an engine for running
JavaScript yourself. GraalVM JavaScript currently is the preferred option.


BUILD FAILED

/Users/john/codebase/netbeans/nbbuild/build.xml:1301: The following error
occurred while executing this line:

/Users/john/codebase/netbeans/nbbuild/build.xml:258: The following error
occurred while executing this line:
/Users/john/codebase/netbeans/nbbuild/build/langtools/make/build.xml:91:
Unable to create javax script engine for javascript

john@Johns-MacBook-Pro netbeans % javac --version

javac 11.0.5

I'm running Java 11 so I have also tried including the argument
`-Dpermit.jdk9.builds=true` but this didn't help.

Anyone else got this issue, or have ideas on what I need to do to get past
it?

Regards

John

Reply via email to