how to use GraalVM in netbeans with javafx

471 Views Asked by At

I'm trying to export my project as an executable file using iscc but it throws the error,

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

and then says build failed:

{PATH OF PROJECT}\nbproject\jfx-impl.xml:3597: The following error occurred while executing this line:
{PATH OF PROJECT}\nbproject\jfx-impl.xml:1251: The following error occurred while executing this line:
{PATH OF PROJECT}\nbproject\jfx-impl.xml:1259: Unable to create javax script engine for javascript

How do i use GraaIVM to export this as an executable? I'm using netbeans 13

0

There are 0 best solutions below