Because JavaFX is no longer in the JDK since JDK 8.

Please use JDK 8 to run NetBeans if you want to use this feature -- or run
on a later JDK (e.g., by Azul) that bundles JavaFX with the JDK.

Gj

On Thu, Mar 26, 2020 at 9:52 PM Jacco van Weert <[email protected]> wrote:

> >Yes, features don't appear magically.
> >
> Well this feature was always there, but it does not work anymore.
>
> My issue added to the existing issue;
> https://issues.apache.org/jira/browse/NETBEANS-4036
>
>
>
>
> On Thu, 26 Mar 2020 at 21:29, Geertjan Wielenga <[email protected]>
> wrote:
>
> > Yes, features don't appear magically. :-) If you want a feature, you need
> > to file an issue, and advocate for it on the mailing list.
> >
> > If you run NetBeans 12.0 beta 2 itself on JDK 8, that native packaging
> > should work as before.
> >
> > Gj
> >
> > On Thu, Mar 26, 2020 at 9:15 PM Jacco van Weert <[email protected]>
> wrote:
> >
> > > Hello,
> > >
> > > New on this list, and perhaps off topic.
> > > But I use beta2 with Java14 (+FX) for development.
> > > I always the standard Java-ant project. And since Netbeans 8 the native
> > > packaging doesn't work.
> > >
> > > But with Java 14 (the new jpackager) I hoped this would work again but
> > alas
> > > when selecting;
> > > Package as -> Image Only
> > > I get the error;
> > >
> > > /build-native.xml:519: typedef class com.sun.javafx.tools.ant.FXJar
> > cannot
> > > be found
> > >  using the classloader AntClassLoader[]
> > > BUILD FAILED (total time: 8 seconds)
> > >
> >
>

Reply via email to