You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by András Sik <an...@gmail.com> on 2020/07/28 20:52:33 UTC

Re: Java Web Start automatically disabled in case of missing libraries

Hello again,

Is there any official advice on this matter please?

Best regards,
András

--
To the optimist, the glass is half-full.
To the pessimist, the glass is half-empty.
To the engineer, the glass is twice as big as it needs to be.



On Tue, Jun 30, 2020 at 4:11 PM András Sik <an...@gmail.com> wrote:

> Hello,
>
> I've been working for quite a while on a project that uses Java Web start.
> This was all fine until it ran on Java 8, but due to recent changes in the
> development process of the company I work for that became no longer
> possible. The project is being ported to Java 11, where this feature is no
> longer available. This would be all fine since I knew this would happen,
> and thought to bridge the gap with OpenWebStart.
>
> Long story short I do not think this is currently possible, and/or I have
> no idea what I should be doing about this.
>
> The IDE automatically disables the WS checkbox in case it cannot find the
> required libraries for the current project platform. Since I like reading
> sources, I've found out this is done on purpose (in
> JWSProjectProperties.java) and is most likely the right thing to do.
>
> At this point I do not know if it would be possible to properly configure
> and compile a Java WS project in NetBeans if there are no libraries
> available. Well, it kind of works, since if I set the corresponding
> property to true (jnlp.enabled) in ANT before doing the build (those
> properties are frozen afterwards due to ANT specification), it compiles
> fine, but this is a very poor solution, and I'd like something more
> acceptable.
>
> (On a side note I'm currently having trouble launching the JNLP with
> OpenWebStart, but that seems to be a different problem.)
>
> Does anyone know how to go about this properly?
>
> Thanks in advance,
> András
>
> --
> To the optimist, the glass is half-full.
> To the pessimist, the glass is half-empty.
> To the engineer, the glass is twice as big as it needs to be.
>
>