JDK-8213485 : Release Note: GTK3 Supported on Linux
  • Type: Sub-task
  • Component: client-libs
  • Affected Version: 8u202
  • Priority: P2
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2018-11-07
  • Updated: 2019-04-09
  • Resolved: 2019-02-19
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
8u202Resolved
Description
This release enables Java graphical applications, whether based on JavaFX, Swing, or Abstract Window Toolkit (AWT), to use either the GTK+ version 2 or version 3 on Linux or Solaris.

By default, the JDK on Linux or Solaris uses GTK+ 2 if available; if not, it uses GTK+ 3.

To use a specific version of GTK+, set the system property `jdk.gtk.version`. This system property may have a value of 2 or 3. You must set this property before your application loads GTK+, and it must not conflict with a GTK+ version that may have been loaded earlier by another toolkit.

To get more information about the GTK+ version loaded and GTK+ specific issues, set the system property `jdk.gtk.verbose` equal to true. 
Comments
NOTE: if possible, this release note should refer to both the JavaFX JBS issue (JDK-8212147) as well as the AWT issue (JDK-8207322), since this release note covers both UI toolkits.
28-11-2018

This is an initial draft. I can make changes as per requirement. Note: I have used the documentation done for the original enhancement as reference for this draft.
12-11-2018

This backport enables Java graphical applications, whether based on JavaFX, Swing, or Abstract Window Toolkit (AWT), to use either the GTK+ version 2 or version 3 on Linux or Solaris. By default, the JDK on Linux or Solaris uses GTK+ 2 if available; if not, it uses GTK+ 3. To use a specific version of GTK+, set the system property jdk.gtk.version. This system property may have a value of 2 or 3. You must set this property before your application loads GTK+, and it must not conflict with a GTK+ version that may have been loaded earlier by another toolkit. To get more information about the GTK+ version loaded and GTK+ specific issues, set the system property jdk.gtk.verbose equal to true.
12-11-2018