Mailinglist Archive: opensuse (4253 mails)
|< Previous||Next >|
Re: [opensuse] 10.3 Java Issues, More Info
- From: JP Rosevear <jpr@xxxxxxxxxx>
- Date: Sun, 07 Oct 2007 06:29:13 -0400
- Message-id: <1191752954.6537.174.camel@gambit>
On Sun, 2007-10-07 at 00:37 -0700, Adam Sailer wrote:
> -----Original Message-----
> From: JP Rosevear [mailto:jpr@xxxxxxxxxx]
> Sent: Sat 10/6/2007 9:18 PM
> To: Adam Sailer
> Cc: opensuse@xxxxxxxxxxxx
> Subject: Re: [opensuse] 10.3 Java Issues, More Info
> 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:
> This implies 'export GTK_MODULES=' may work around the issue, does that solve
> it for you?
> JP Rosevear <jpr@xxxxxxxxxx>
> Novell, Inc.
> To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx For additional
> commands, e-mail: opensuse+help@xxxxxxxxxxxx
> I added this line to my .bashrc file, and it works if I launch from the
> gnome-terminal. However, if I launch an app by clicking on the executable jar
> file, no-go.
> Also, I created a copy of the netbeans launcher and added the laf switch;
> Command: "/opt/netbeans-5-5.1/bin/netbeans" --laf
> This worked in 10.2, not in 10.3
> How do I make this 'export GTK_MODULES=' and the sloppy lock one, global and
> for all users?
You can drop a file in /etc/profile.d. We'll also start preparing an
update for upstream issue asap and have some test packages to test later
on Sunday I hope.
JP Rosevear <jpr@xxxxxxxxxx>
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
|< Previous||Next >|