Well, there is a public facing Java distribution such as AdoptOpenJDK
and many Linux distros provide their own (see http://www.jchoice.eu ).
So, at least on Linux, you will have some form of Java in their
repositories. Although even there there's nothing stopping you to ship
your own runtime (as part of something like snapcraft.io or manually).

But Java is no longer something users install / update.

Supporting all the Unix-like OSes seems like a non-trivial job in
itself. The NetBeans installer is just a linux-x64.sh file, not a
rpm/deb.

For Windows/macOS you probably can use something cross platform (see
the NetBeans installer), but you will run into the problem of
digitally signing your app. For that I don't know of a cross platform
solution.

So, for example, although I build CoolBeans on a Linux build server, I
still have to digitally sign the installer on a Mac and on a Windows
machine.

--emi

On Mon, Sep 30, 2019 at 9:15 PM Derik Devecchio
<ddevecc...@celestron.com> wrote:
>
>
> > On Sep 30, 2019, at 9:55 AM, Emilian Bold <emilian.b...@gmail.com> wrote:
> >
> > Java is no longer an user-facing product, it's middleware.
> >
>
> Okay, that sounds like an improvement from where I am standing, but…  Can 
> Netbeans help me with that now?
>
> The last time I looked into bundling the JRE with my program, I think it was 
> in the early release days of Java9 (Netbeans 8.2 was still the IDE of 
> choice).     You could specify such a build, but it required linking the IDE 
> to 3rd party software.   Also, at the time, it required that you have a 
> development station for each OS.   You couldn’t make Windows apps on a Mac 
> and visa versa, to say nothing of the dozen or so flavors of Linux out there. 
>   To make matters worse, at the time, the required third party software was 
> different for each OS.   There were many competing options for each OS, each 
> with dozens different options that need to be (a) learned and (b) configured 
> correctly for each of your development stations.   Finally, creating the 
> installer was a multi-step process for each OS.   As I said, this was shortly 
> after the release of Java9 - so it was years ago.
>
>
> Has the state of the art advanced since that time?    I am thinking maybe a 
> plugin for Netbeans that allows me to tick off the OS’s I want to support 
> with a menu option to build all the installers when I am ready to distribute. 
>   Maybe I need a separate installer plugin for each OS that includes binaries 
> of the JRE for that OS?
>
> And what about the Unix-like OS’s?   I just assumed that if you used unix at 
> all, then you were smart enough to install the JRE.  But if there /is/ no 
> public facing JRE, and I need to provide that for them, then wouldn’t I need 
> to provide a separate installer for each and every Unix-like OS on the 
> market?   There must be close to a dozen by now.   And if I still need a 
> separate development station for each OS, then it is going to be impractical.
>
>
>
>
>
> > On Sep 30, 2019, at 9:55 AM, Emilian Bold <emilian.b...@gmail.com> wrote:
> >
> > Java is no longer an user-facing product, it's middleware.
> >
> > You are expected to provide Java bundled with your application in the 
> > future.
> >
> > Users will not have any Java already available nor will they download
> > any new Java.
> >
> > --emi
> >
> > On Mon, Sep 30, 2019 at 7:39 PM Derik Devecchio
> > <ddevecc...@celestron.com> wrote:
> >>
> >> I know that the Netbeans’s forum doesn’t maintain 
> >> https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e=.
> >>    But I don’t know anyone else to ask off hand.
> >>
> >> I went to 
> >> https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e=
> >>  to find out the “latest public stable release”.   I was expecting Java 9 
> >> point something.    But I was hoping for 10, 11 or maybe 12.   Low and 
> >> behold it is still on Java8 u 221?
> >>
> >>
> >> Isn’t Java 9 stable enough for public?   As a person that writes software 
> >> for the customers of my company, I am loath to write code using a version 
> >> of Java that won’t be compatible with what most people already have 
> >> installed on their machine.     And if they don’t have any version of Java 
> >> installed on their computer, which is increasingly the case,  then my code 
> >> should be compatible with the JRE they download from the most obvious 
> >> place, 
> >> https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e=.
> >>
> >> I was just wondering if maybe 
> >> https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e=
> >>  wasn’t the right place anymore.  It doesn’t seem like the site is 
> >> stagnate.   8u221 was released just a few months ago.  But why 8?     If 
> >> anyone has a clue, I would appreciate some enlightenment.
> >>
> >>
> >> —
> >> derik
> >>
> >> P.S.   Great work bringing such a huge project over to the Apache 
> >> framework.   I thought it would be a lot easier than it is.  I have 
> >> watched some fo the videos of Gertjan discussing the mind bogglingly large 
> >> amount of tedious work involved.   I applaud your efforts.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to