JDK-8229245 : Release Note: [client-libs and javaFX] GTK3 Is Now the Default on Linux/Unix
  • Type: Sub-task
  • Component: client-libs
  • Affected Version: 8u231
  • Priority: P2
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2019-08-07
  • Updated: 2022-05-31
  • Resolved: 2021-12-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8u231Resolved
Description
Newer versions of Linux, Solaris, and other Unix flavor desktop environments use GTK3, while still supporting GTK2.

Previously, the JDK would default to loading the older GTK2 libraries. However, in this release, it defaults to loading GTK3 libraries. Loading is typically triggered by using the Swing GTK Look And Feel.

The old behavior can be restored by using the system property: `-Djdk.gtk.version=2.2`