[
https://issues.apache.org/jira/browse/NETBEANS-1343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16649525#comment-16649525
]
Michal Rama commented on NETBEANS-1343:
---------------------------------------
Hello,
As I mentioned, in the previous post, when changing the platform to JDK 10, the
new JavaFX project can be created.
Then, from the manage platforms, delete the JDK 10.
Therefore, the project will start to report an error, and JDK 10 will change to
Broken platform 'JDK_10'
Just right-click on the project to choose properties and change JDK to version
11
!picture13.png!
Then it is only necessary to use the procedure described above.
This is how you can create a new JavaFX project in JDK 11 (if you have at least
one Java version that contains JavaFX)
Of course, the project will still report a bug
!picture10.png!
but it is the NetBeans problem that it runs in JDK 11 and therefore does not
know JavaFX.
PS. I find it strange that NetBeans knows PHP 7.3, which has not been released
yet (until December) but does not know openjavafx. (especially when JDK 11 was
published almost three weeks ago)
> 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 867, Java 11
> Reporter: Michal Rama
> Priority: Blocker
> Labels: javafx
> Attachments: picture1.png, picture10.png, picture11.png,
> picture12.png, picture13.png, picture2.png, picture3.png, picture4.png,
> picture5.png, picture6.png, picture7.png, picture8.png, picture9.png
>
>
> 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