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://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


---------------------------------------------------------------------
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://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to