You are viewing a plain text version of this content. The canonical link for it is here.
Posted to netcat@netbeans.apache.org by Jacco van Weert <we...@gmail.com> on 2020/03/26 20:15:24 UTC

[NB 12.0-beta2] package as...

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)

Re: [NB 12.0-beta2] package as...

Posted by Geertjan Wielenga <ge...@apache.org>.
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 <we...@gmail.com> 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 <ge...@apache.org>
> 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 <we...@gmail.com>
> 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)
> > >
> >
>

Re: [NB 12.0-beta2] package as...

Posted by Jacco van Weert <we...@gmail.com>.
>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 <ge...@apache.org> 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 <we...@gmail.com> 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)
> >
>

Re: [NB 12.0-beta2] package as...

Posted by Geertjan Wielenga <ge...@apache.org>.
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 <we...@gmail.com> 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)
>