I just looked in the NetBeans Preferences and came to the JavaFX tab … up pops an installer for “JavaFX implementation for MacOS X” with a license that very much looks like GPL … or am I wrong?
The GNU General Public License (GPL)
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies of this license
document, but changing it is not allowed.
Skimming over it there seems no exception for commercial software distribution.