You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Chris Olsen <co...@mchsi.com> on 2019/09/16 22:39:28 UTC
JavaFX deployment library not found in active JDK
Hello, Everyone --
"Trigger" warning -- I am not a developer, just an amateur programmer with a large FX project.
I am not sure what information would be helpful, but here is my story:
I am running with two PCs, Windows 7 and 10, and have arrived at the same problem. I have installed (I believe successfully) AdoptOpenJDK 11.0.2 and Apache Netbeans 11.1 and javafx. I am getting no compile errors (i.e. the javafx library seems to be found successfully.) However, I am getting the output below. I am not sure which of it is relevant, so I copied all of it. I am not Ant-proficient at all, so I have fewer clues than one what the jfx-impl.xml lines are trying to tell me. I was not able to discern from StackOverflow what to do about "JavaFX deployment library not found in active JDK." It was claimed I might still be able to run the program from the command line, but since my Unix/Linux/DOS looms small in my rear view mirrow, I want Apache Netbeans to do all this for me.
Might someone unravel what the problem might be, and where I might go to seek a solution?
Thank you in advance!
-- Chris Olsen
---------------------------------------------------------------
ant -f C:\\Users\\olsenc\\Documents\\NetBeansProjects\\Splat jfx-rebuild
jfx-rebuild:
init:
deps-clean:
Updating property file: C:\Users\olsenc\Documents\NetBeansProjects\Splat\build\built-clean.properties
Deleting directory C:\Users\olsenc\Documents\NetBeansProjects\Splat\build
clean:
init:
deps-jar:
Created dir: C:\Users\olsenc\Documents\NetBeansProjects\Splat\build
Updating property file: C:\Users\olsenc\Documents\NetBeansProjects\Splat\build\built-jar.properties
Created dir: C:\Users\olsenc\Documents\NetBeansProjects\Splat\build\classes
Created dir: C:\Users\olsenc\Documents\NetBeansProjects\Splat\build\empty
Created dir: C:\Users\olsenc\Documents\NetBeansProjects\Splat\build\generated-sources\ap-source-output
Compiling 356 source files to C:\Users\olsenc\Documents\NetBeansProjects\Splat\build\classes
warning: [options] bootstrap class path not set in conjunction with -source 8
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
Copying 18 files to C:\Users\olsenc\Documents\NetBeansProjects\Splat\build\classes
compile:
Created dir: C:\Users\olsenc\Documents\NetBeansProjects\Splat\dist
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Copying 8 files to C:\Users\olsenc\Documents\NetBeansProjects\Splat\dist\lib
Detected JavaFX Ant API version 1.0
C:\Users\olsenc\Documents\NetBeansProjects\Splat\nbproject\jfx-impl.xml:3550: The following error occurred while executing this line:
C:\Users\olsenc\Documents\NetBeansProjects\Splat\nbproject\jfx-impl.xml:3578: The following error occurred while executing this line:
C:\Users\olsenc\Documents\NetBeansProjects\Splat\nbproject\jfx-impl.xml:3597: The following error occurred while executing this line:
C:\Users\olsenc\Documents\NetBeansProjects\Splat\nbproject\jfx-impl.xml:524: Error:
JavaFX deployment library not found in active JDK.
Please check that the JDK is correctly installed and its version is at least 7u4 on Mac or 7u6 on other systems.
BUILD FAILED (total time: 7 seconds)
----------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: JavaFX deployment library not found in active JDK
Posted by Geertjan Wielenga <ge...@apache.org>.
Use openjfx.io via Maven integrated in Apache NetBeans 11.1.
Gj
On Mon, 16 Sep 2019 at 15:39, Chris Olsen <co...@mchsi.com> wrote:
> Hello, Everyone --
>
> "Trigger" warning -- I am not a developer, just an amateur programmer
> with a large FX project.
>
> I am not sure what information would be helpful, but here is my story:
>
> I am running with two PCs, Windows 7 and 10, and have arrived at the
> same problem. I have installed (I believe successfully) AdoptOpenJDK
> 11.0.2 and Apache Netbeans 11.1 and javafx. I am getting no compile errors
> (i.e. the javafx library seems to be found successfully.) However, I am
> getting the output below. I am not sure which of it is relevant, so I
> copied all of it. I am not Ant-proficient at all, so I have fewer clues
> than one what the jfx-impl.xml lines are trying to tell me. I was not able
> to discern from StackOverflow what to do about "JavaFX deployment library
> not found in active JDK." It was claimed I might still be able to run the
> program from the command line, but since my Unix/Linux/DOS looms small in
> my rear view mirrow, I want Apache Netbeans to do all this for me.
>
> Might someone unravel what the problem might be, and where I might go to
> seek a solution?
>
> Thank you in advance!
>
> -- Chris Olsen
>
> ---------------------------------------------------------------
>
> ant -f C:\\Users\\olsenc\\Documents\\NetBeansProjects\\Splat jfx-rebuild
> jfx-rebuild:
> init:
> deps-clean:
> Updating property file:
> C:\Users\olsenc\Documents\NetBeansProjects\Splat\build\built-clean.properties
> Deleting directory C:\Users\olsenc\Documents\NetBeansProjects\Splat\build
> clean:
> init:
> deps-jar:
> Created dir: C:\Users\olsenc\Documents\NetBeansProjects\Splat\build
> Updating property file:
> C:\Users\olsenc\Documents\NetBeansProjects\Splat\build\built-jar.properties
> Created dir: C:\Users\olsenc\Documents\NetBeansProjects\Splat\build\classes
> Created dir: C:\Users\olsenc\Documents\NetBeansProjects\Splat\build\empty
> Created dir:
> C:\Users\olsenc\Documents\NetBeansProjects\Splat\build\generated-sources\ap-source-output
> Compiling 356 source files to
> C:\Users\olsenc\Documents\NetBeansProjects\Splat\build\classes
> warning: [options] bootstrap class path not set in conjunction with
> -source 8
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 1 warning
> Copying 18 files to
> C:\Users\olsenc\Documents\NetBeansProjects\Splat\build\classes
> compile:
> Created dir: C:\Users\olsenc\Documents\NetBeansProjects\Splat\dist
> Warning: Nashorn engine is planned to be removed from a future JDK release
> Warning: Nashorn engine is planned to be removed from a future JDK release
> Warning: Nashorn engine is planned to be removed from a future JDK release
> Warning: Nashorn engine is planned to be removed from a future JDK release
> Warning: Nashorn engine is planned to be removed from a future JDK release
> Warning: Nashorn engine is planned to be removed from a future JDK release
> Warning: Nashorn engine is planned to be removed from a future JDK release
> Warning: Nashorn engine is planned to be removed from a future JDK release
> Warning: Nashorn engine is planned to be removed from a future JDK release
> Warning: Nashorn engine is planned to be removed from a future JDK release
> Warning: Nashorn engine is planned to be removed from a future JDK release
> Copying 8 files to
> C:\Users\olsenc\Documents\NetBeansProjects\Splat\dist\lib
> Detected JavaFX Ant API version 1.0
> C:\Users\olsenc\Documents\NetBeansProjects\Splat\nbproject\jfx-impl.xml:3550:
> The following error occurred while executing this line:
> C:\Users\olsenc\Documents\NetBeansProjects\Splat\nbproject\jfx-impl.xml:3578:
> The following error occurred while executing this line:
> C:\Users\olsenc\Documents\NetBeansProjects\Splat\nbproject\jfx-impl.xml:3597:
> The following error occurred while executing this line:
> C:\Users\olsenc\Documents\NetBeansProjects\Splat\nbproject\jfx-impl.xml:524:
> Error:
> JavaFX deployment library not found in active JDK.
> Please check that the JDK is correctly installed and its version is at
> least 7u4 on Mac or 7u6 on other systems.
> BUILD FAILED (total time: 7 seconds)
>
> ----------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>