Have a look at my GitHub that supports some articles I write for DZone on how 
to run JavaFX - the folder structure will support that line.

https://github.com/cbm64chris/JavaFXMavenNetBeans

Associate Principal Engineer | UK Development - Care Insight and Delivery Dev | 
chris.l...@cerner.com<mailto:chris.l...@cerner.com> | Cerner 
Limited<http://www.cerner.com/>

On 17 Sep 2019, at 17:48, Chris Olsen <col...@mchsi.com> wrote:

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 <i...@bernd-michaely.de<mailto:i...@bernd-michaely.de>>
To: users@netbeans.apache.org<mailto:users@netbeans.apache.org>
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: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists&amp;data=02%7C01%7CChris.Luff%40cerner.com%7C40da989a5d8b40f9305608d73b8edc8e%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637043357081985444&amp;sdata=YO3lPmdqfH0J4AldJMSiUxkKGqf0HA9GmVikXufPdAs%3D&amp;reserved=0


---------------------------------------------------------------------
To unsubscribe, e-mail: 
users-unsubscr...@netbeans.apache.org<mailto:users-unsubscr...@netbeans.apache.org>
For additional commands, e-mail: 
users-h...@netbeans.apache.org<mailto:users-h...@netbeans.apache.org>

For further information about the NetBeans mailing lists, visit:
https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists&amp;data=02%7C01%7CChris.Luff%40cerner.com%7C40da989a5d8b40f9305608d73b8edc8e%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637043357081985444&amp;sdata=YO3lPmdqfH0J4AldJMSiUxkKGqf0HA9GmVikXufPdAs%3D&amp;reserved=0



---------------------------------------------------------------------
To unsubscribe, e-mail: 
users-unsubscr...@netbeans.apache.org<mailto:users-unsubscr...@netbeans.apache.org>
For additional commands, e-mail: 
users-h...@netbeans.apache.org<mailto:users-h...@netbeans.apache.org>

For further information about the NetBeans mailing lists, visit:
https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists&amp;data=02%7C01%7CChris.Luff%40cerner.com%7C40da989a5d8b40f9305608d73b8edc8e%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637043357081985444&amp;sdata=YO3lPmdqfH0J4AldJMSiUxkKGqf0HA9GmVikXufPdAs%3D&amp;reserved=0



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.

Reply via email to