[opensuse] 10.3 Java Issues, More Info
Ok, it looks like significant changes implemented in Gnome 2.20 GTK+ have broken LookAndFeel support in Java. I can run Netbeans, the JDK demo apps, and my apps (Swing GUIs) as long as I use the default Java laf. When I try to use the GTK+ laf, or a third-party laf from a jar, is when crashes happen. Limewire crashes since it uses a custom laf. Oddly enough, the output of: System.out.println("UIManager.getSystemLookAndFeelClassName()); returns: "com.sun.java.swing.plaf.gtk.GTKLookAndFeel" when run as a user, "javax.swing.plaf.metal.MetalLookAndFeel" when run as root. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 06/10/2007, Adam Sailer
Ok, it looks like significant changes implemented in Gnome 2.20 GTK+ have broken LookAndFeel support in Java.
The gtk look and feel works fine for me here (with netbeans) as long as I use the openSUSE packages of sun's java. Sun's java packages do indeed cause crashes. _ Benjamin Weber -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 06 October 2007 23:13:18 Benji Weber wrote:
On 06/10/2007, Adam Sailer
wrote: Ok, it looks like significant changes implemented in Gnome 2.20 GTK+ have broken LookAndFeel support in Java.
The gtk look and feel works fine for me here (with netbeans) as long as I use the openSUSE packages of sun's java. Sun's java packages do indeed cause crashes.
_ Benjamin Weber
I use OpenSuse 1.6 packages and I can't even install Netbeans. I tried the famous export fix, but I still think that the problem is Java's integration in OpenSuse 10.3, because many times it refers to the problem on a missing library. I really consider switching back to Ubuntu as a solution. Speart -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 2007-10-06 at 23:45 +0200, Lior Avital wrote:
On Saturday 06 October 2007 23:13:18 Benji Weber wrote:
On 06/10/2007, Adam Sailer
wrote: Ok, it looks like significant changes implemented in Gnome 2.20 GTK+ have broken LookAndFeel support in Java.
The gtk look and feel works fine for me here (with netbeans) as long as I use the openSUSE packages of sun's java. Sun's java packages do indeed cause crashes.
_ Benjamin Weber
I use OpenSuse 1.6 packages and I can't even install Netbeans.
What error do you get trying to install? I just installed netbeans via zypper from the non-oss repo without issue. jpr@gambit:~> rpm -qa | grep java java-1_5_0-sun-1.5.0_update12-23 java-1_5_0-sun-plugin-1.5.0_update12-23 java-1_6_0-sun-1.6.0.u1-26 jpr@gambit:~> rpm -qa | grep beans netbeans-5.0-155
I tried the famous export fix, but I still think that the problem is Java's integration in OpenSuse 10.3, because many times it refers to the problem on a missing library. I really consider switching back to Ubuntu as a solution.
What did you do to install netbeans? What library is referred to as
missing?
I see some warnings about additional jar files to install for more
functionality on first start and that I was using just a jre instead of
a jdk, however both:
netbeans
and
netbeans --laf com.work just fine under GNOME for
sun.java.swing.plaf.gtk.GTKLookAndFeel
launch netbeans and allow me to start the project wizard. Not using the
sloppy lock export fix.
-JP
--
JP Rosevear
On Sat, 2007-10-06 at 13:56 -0700, Adam Sailer wrote:
Ok, it looks like significant changes implemented in Gnome 2.20 GTK+ have broken LookAndFeel support in Java.
I can run Netbeans, the JDK demo apps, and my apps (Swing GUIs) as long as I use the default Java laf. When I try to use the GTK+ laf, or a third-party laf from a jar, is when crashes happen. Limewire crashes since it uses a custom laf.
Oddly enough, the output of: System.out.println("UIManager.getSystemLookAndFeelClassName()); returns:
"com.sun.java.swing.plaf.gtk.GTKLookAndFeel" when run as a user,
"javax.swing.plaf.metal.MetalLookAndFeel" when run as root.
Adam, as per Benji are you using Sun's java from 10.3?
Upstream I see one possible issue:
http://bugzilla.gnome.org/show_bug.cgi?id=479929
This implies 'export GTK_MODULES=' may work around the issue, does that
solve it for you?
-JP
--
JP Rosevear
Adam, as per Benji are you using Sun's java from 10.3?
I have tested running Eclipse with both the SuSE jdk and Sun jdk and it fails.
Upstream I see one possible issue: http://bugzilla.gnome.org/show_bug.cgi?id=479929
This implies 'export GTK_MODULES=' may work around the issue, does that solve it for you?
When I unset GTK_MODULES then Eclipse works and I can call the debugger and set check points. Works for me. -H -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 2007-10-07 at 01:28 -0400, Hugo Garcia wrote:
Adam, as per Benji are you using Sun's java from 10.3?
I have tested running Eclipse with both the SuSE jdk and Sun jdk and it fails.
Upstream I see one possible issue: http://bugzilla.gnome.org/show_bug.cgi?id=479929
This implies 'export GTK_MODULES=' may work around the issue, does that solve it for you?
When I unset GTK_MODULES then Eclipse works and I can call the debugger and set check points.
Works for me.
We'll prepare a patch asap. Follow bug
https://bugzilla.novell.com/show_bug.cgi?id=331618
-JP
--
JP Rosevear
participants (5)
-
Adam Sailer
-
Benji Weber
-
Hugo Garcia
-
JP Rosevear
-
Lior Avital