When using the UIManager.getSystemLookAndFeelClassName() method, it returns javax.swing.plaf.metal.MetalLookAndFeel (the cross-platform one), and not com.sun.java.swing.plaf.gtk.GTKLookAndFeel, as expected. If the UIManager.setLookAndFeel() method is called with the latter, the L&F will be set to GTK, so it is definitely there; the system just fails to recognize it as the default L&F.
This error is reproducible with sun-java5-jdk as well, I have not tried the -jre packages, or gcj. Both the <jdk root>/bin/java and <jdk_root>/jre/bin/java works alike.
Binary package hint: sun-java6-jdk
When using the UIManager. getSystemLookAn dFeelClassName( ) method, it returns javax.swing. plaf.metal. MetalLookAndFee l (the cross-platform one), and not com.sun. java.swing. plaf.gtk. GTKLookAndFeel, as expected. If the UIManager. setLookAndFeel( ) method is called with the latter, the L&F will be set to GTK, so it is definitely there; the system just fails to recognize it as the default L&F.
This error is reproducible with sun-java5-jdk as well, I have not tried the -jre packages, or gcj. Both the <jdk root>/bin/java and <jdk_root> /jre/bin/ java works alike.