I agree with these recommendations:
1) Definitively bundle your own JRE. You can't assume people have Java 
installed anymore, and it's very nice to be able to test your app on exactly 
the Java version you know your users will be running on.
2) For legal reasons, definitively do not use the Oracle one--use one of the 
OpenJDK ones. I use https://www.azul.com/downloads/zulu-community . For all 
practical purposes, it's the exact same piece of software as the Oracle 
one--just with a different license agreement.

-- Eirik

From: Emilio G.C. <rarei...@outlook.com>
Sent: Sunday, September 15, 2019 6:20 PM
To: Jerome Lelasseux <lelass...@yahoo.com>
Cc: users@netbeans.apache.org
Subject: Re: Releasing a Netbeans platform application to the general public

Some extra info from Wikipedia, in case you want to consider other JDK bundling 
options: https://en.wikipedia.org/wiki/OpenJDK#OpenJDK_builds
[Image removed by sender.]<https://en.wikipedia.org/wiki/OpenJDK#OpenJDK_builds>
OpenJDK - Wikipedia<https://en.wikipedia.org/wiki/OpenJDK#OpenJDK_builds>
OpenJDK (Open Java Development Kit) is a free and open-source implementation of 
the Java Platform, Standard Edition (Java SE). It is the result of an effort 
Sun Microsystems began in 2006. The implementation is licensed under the GNU 
General Public License (GNU GPL) version 2 with a linking exception.Were it not 
for the GPL linking exception, components that linked to the Java class library 
...
en.wikipedia.org



________________________________
From: Jerome Lelasseux <lelass...@yahoo.com>
Sent: Sunday, September 15, 2019 16:06
To: Jerome Lelasseux <lelass...@yahoo.com.INVALID>; Emilio G. C. 
<rarei...@outlook.com>
Cc: users@netbeans.apache.org <users@netbeans.apache.org>
Subject: Re: Releasing a Netbeans platform application to the general public

Thanks all for your feedback.

I checked the new Oracle license : I understood that I can use JRE on my own 
computer, but I can NOT bundle it and redistribute it.

So I have the following choices:

1/ bundle a JRE and it must be OpenJDK
or
2/ have the installer check if a JRE is there, and if not, ask user to install 
a JRE on its own (then he can choose Oracle or whatever). I assume that after 
JRE installation my Netbeans app will automatically find this JRE ?


InnoSetup is probably be a good idea: I guess it's more powerful and flexible 
than Netbeans installers, but I'm concerned by the time needed to learn yet 
another topic... Does InnoSetup simplifies the "installer signing" ?

As some of you seem curious, here is a video I just finished today. It's a 
private link for preview only, because web site is not online yet, etc.
https://youtu.be/v80Wm6joYxs





Le dimanche 15 septembre 2019 à 21:59:03 UTC+2, Emilio G. C. 
<rarei...@outlook.com> a écrit :


Something else to note, if you bundle the JRE, make sure Oracle's new licensing 
fits your case. I must admit I don't quite understand it fully, but in the case 
of the newest Java 8 releases, it might be something to consider.


Emilio

________________________________
From: Jerome Lelasseux <lelass...@yahoo.com.INVALID>
Sent: Sunday, September 15, 2019 14:36
To: Emilian Bold <emilian.b...@gmail.com>
Cc: NetBeans Mailing <users@netbeans.apache.org>
Subject: Re: Releasing a Netbeans platform application to the general public

I see. I thought most Windows users had a JRE installed...

Bundling a JRE adds 40MB to my 18MB package, it's a pity... Is there a way to 
do it simply directly from Netbeans ? I'll need 2 different packages for 
32/64bits ? Same for the signing process, no idea from where to start, I'll 
Google it but if you have some good pointer this will help !

Thank you.


Le dimanche 15 septembre 2019 à 18:11:27 UTC+2, Emilian Bold 
<emilian.b...@gmail.com> a écrit :


Especially for non technical users you can assume they will have no Java so you 
must include a JRE. I recommend AdoptOpenJDK 11.

Signed installers would be nice if you don't want Windows to scare away your 
users.
--emi

dum., 15 sept. 2019, 18:22 Jerome Lelasseux <lelass...@yahoo.com.invalid> a 
scris:
Hello,

I develop in my spare time a Netbeans platform music application targeted at 
individual musicians (professional or amateur). The application is based on 
NB11/Java7. I test it on Win10(x64) and on a Linux Mint distribution, though I 
expect most of the users will be on Windows. At the beginning I won't release a 
Mac version.

In a few weeks I will put it online for the first time, and I'm interested to 
get recommendations from experienced people regarding possible 
installation/configuration problems on user machines.

For example is it realistic to assume that most users will have Oracle JRE7 
already installed ? Is it better to embed a JRE in my download package ? etc.

Thanks
Jerome





Reply via email to