Hi, Bernd --
Thank you very much for your wisdom! Geertjan suggested using Maven, and I
am trying that. I also stumbled around and fixed the conflict you mention. I
created a new Maven project (in Java 8 at home) and copied over all my files.
Everything was fine except this line:
> String css =
getClass().getResource("/css/DataManager.css").toExternalForm();
Still scratching my head trying to figure out the problem. I'm guessing it
has something to do with some difference in the package organization between
Ant and Maven. Ah, well, that's what makes programming an exciting endeavor!
When I get to the office tomorrow I am going to try to duplicate my success,
this time with Java 11. I'll dragoon one of my former statistics students to
help...
Thanks again for your wisdom -- have a great day...
-- Chris
----- Original Message -----
From: Bernd Michaely <[email protected]>
To: [email protected]
Sent: Tue, 17 Sep 2019 12:29:58 -0400 (EDT)
Subject: Re: JavaFX deployment library not found in active JDK
Hi,
| warning: [options] bootstrap class path not set in conjunction with
-source 8
it seems you are using JDK 11 (which needs a separate OpenJavaFX), but
with target Java version 8 (which contains its own JavaFX8), so there is
a conflict ...
(so e.g. inside NetBeans see:
Project Properties > Sources > Source/Binary Format
and try to use JDK11 as target)
bm
On 17.09.19 00:39, Chris Olsen 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: [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
>
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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