It is generally recommended to use the latest JDK update release of one of the by NetBeans supported JDK versions. The supported versions can change from NetBeans release to release, the up to date list can be found on the download page of the release and on the readme of the source bundle.
The launcher will try to set the best settings based on the OS you are running NetBeans on
Ugly Fonts on Ubuntu with Java 9, 10
For some reason there were a few packages of JDK out where the fontconfig.Ubuntu.properties
file was present in the lib
directory of the JDK.
That file was used to tune the used typesetting details in the pre-Ubuntu Font era. Having that in place would result to render replacements of possible not installed fonts. So Java displays an ugly user interface.
Solution:
Remove the fontconfig.Ubuntu.properties
file from the lib
directory of the JDK.
Washed out (reddish blur) Fonts on Linux with Oracle Java 11
For whatever reason Oracle changed the font rendering routines again, and removed the fonts previously delivered with Java in Java 11.
It happens as the anti-aliasing setting is wrongly detected by default.
Start NetBeans (or add the following parameter to netbeans.cfg
) with: -J-Dawt.useSystemAAFontSettings=on
It is also recommended to set the Gnome/KDE hinting level to medium or full.
Ugly Wrong Sized Fonts in Terminal
Sometimes Terminal could really present interesting display experiences.
Solution:
Try to change the font used in Terminal to something else, like: Lucida Typewriterthe latest NetBeans release since this was fixed via https://github.com/apache/netbeans/pull/6163