[ 
https://issues.apache.org/jira/browse/NETBEANS-1343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16666228#comment-16666228
 ] 

Michal Rama commented on NETBEANS-1343:
---------------------------------------

I created a new JavaFX Main Class.

Suddenly, both classes with the main method appeared in the available classes 
at the start of the project.

So I chose the original class, deleted the newly created and started the 
project.

But he crashed.
{code:java}
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
Warning: Nashorn engine is planned to be removed from a future JDK release
Deleting directory C:\Users\*\Documents\NetBeansProjects\*\dist\lib
Copying 9 files to C:\Users\*\Documents\NetBeansProjects\*\dist\lib
Detected JavaFX Ant API version 1.0
C:\Users\*\Documents\NetBeansProjects\*\nbproject\jfx-impl.xml:3867: The 
following error occurred while executing this line:
C:\Users\*\Documents\NetBeansProjects\*\nbproject\jfx-impl.xml:3904: The 
following error occurred while executing this line:
C:\Users\*\Documents\NetBeansProjects\*\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.
{code}
What is the problem?

Thank you

> It is not possible to create a new JavaFX project in JDK 11
> -----------------------------------------------------------
>
>                 Key: NETBEANS-1343
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1343
>             Project: NetBeans
>          Issue Type: Bug
>          Components: javafx - Project
>    Affects Versions: 10.0
>         Environment: Windows 10, Incubator NetBeans Linux 880, Java 11.0.1
>            Reporter: Michal Rama
>            Priority: Blocker
>              Labels: javafx, pull-request-available
>         Attachments: picture1.png, picture10.png, picture11.png, 
> picture12.png, picture13.png, picture14.png, picture2.png, picture3.png, 
> picture4.png, picture5.png, picture6.png, picture7.png, picture8.png, 
> picture9.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Hello,
> Unable to create projects.
> New Java Project
> !picture1.png!
> New JavaFX project
> !picture2.png!
> Please advise.
> Thank you
> PS. Projects in HTML / CSS / JS / PHP can be created without any problem.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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

Reply via email to