Reputation: 43
My Netbeans 11.1 looks ugly when starting with jdk-13.
Below you can see the the difference between jdk-13 (left) and jdk-8 (right):
I've already tried to change the keys -J-Dsun.java2d.dpiaware
, -J-Djdk.gtk.version
, and tried it with open- and oracle-jdk, but nothing changed.
Thanks for your help ;)
Upvotes: 1
Views: 552
Reputation: 976
Locate netbeans.conf (For windows: C:\Program Files\NetBeans-11.1\netbeans\etc\netbeans.conf)
Change netbeans_jdkhome property
netbeans_jdkhome=C:\Program Files\Java\<YOUR_JAVA_8_INSTALLATION>
Upvotes: 0
Reputation: 17363
NetBeans 11.1 was released almost two months before JDK 13, and while JDK 13 may appear to work fine with NetBeans 11.1 there are limitations, and it is definitely not officially supported. From the Product Manager for NetBeans: "Apache NetBeans 11.1 supports JDK 8 to JDK 12".
So if you want to use JDK 13 with NetBeans, download and install Apache NetBeans 11.2. The resolution looks fine to me when starting NetBeans 11.2 with JDK 13:
Regarding your "enlarged" concern, note that you can:
--fontsize
parameter:
--fontsize
as a parameter to netbeans.exe at startup.See FaqFontSize for more details.
Open a new question if you still see the same issues when using JDK 13 with NetBeans 11.2.
Upvotes: 1