hi,
with java is OK .
I downloaded all together (jdk and NetBeans) from the Oracle site... :
----------
[angelo_dev@localhost ~]$ java -version
openjdk version "1.8.0_31"
OpenJDK Runtime Environment (build 1.8.0_31-b13)
OpenJDK 64-Bit Server VM (build 25.31-b07, mixed mode)
[angelo_dev@localhost ~]$ javac -version
javac 1.8.0_31
----------
After I posted the previous message I learned more ,
and now I am about sure that the problem come from the graphic environment of Linux...
After I Installed Fedora 27 I got to use a Wayland session of gnome, instead the usual X11 session :
if I do :
loginctl show session 2 -p Type,
I get
Type=wayland
instead that
Type=x11 (that is the value I get on computer where is Fedora 21)
Wyland is not good environment for running the graphical program that is used to install netBeans... (the .sh script)
So I am looking now how I can return to session X11 inside Gnome...