[packman] liquidlnf-0.2.6-0.pm.1 breaks Java Web Start

Tilman Vogel tilman.vogel at web.de
Tue Feb 20 11:11:53 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Just experienced, that after installing

liquidlnf-0.2.6-0.pm.1

on SuSE 10.0 with java-1_5_0-sun-1.5.0_10-0.1, Java Web Start cannot be
started anymore:

/usr/lib/jvm/jre/bin/javaws

just crashes with

Exception in thread "AWT-XAWT" java.lang.Error: can't load
com.birosoft.liquid.LiquidLookAndFeel
        at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1176)
        at javax.swing.UIManager.initialize(UIManager.java:1257)
        at javax.swing.UIManager.maybeInitialize(UIManager.java:1245)
        at javax.swing.UIManager.getDefaults(UIManager.java:556)
        at javax.swing.UIManager.getColor(UIManager.java:590)
        at
com.sun.java.swing.plaf.motif.MotifBorders$BevelBorder.<init>(MotifBorders.java:43)
        at
com.sun.java.swing.plaf.motif.MotifLookAndFeel.initComponentDefaults(MotifLookAndFeel.java:197)
        at
sun.awt.X11.XAWTLookAndFeel.initComponentDefaults(XAWTLookAndFeel.java:81)
        at
javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:107)
        at sun.awt.X11.XToolkit.initUIDefaults(XToolkit.java:232)
        at sun.awt.X11.XToolkit.run(XToolkit.java:437)
        at java.lang.Thread.run(Thread.java:595)

The reason is

/usr/lib/jvm/jre/lib/swing.properties

containing

swing.installedlaf.liquid.name = Liquid
swing.installedlaf.liquid.class = com.birosoft.liquid.LiquidLookAndFeel
swing.defaultlaf=com.birosoft.liquid.LiquidLookAndFeel

but the respective

/usr/share/java/liquidlnf-0.2.6.jar

is not found by the default class path... Sorry, I don't know enough
about Java packages to tell how to fix it... A workaround is to

ln -s /usr/share/java/liquidlnf* /usr/lib/jvm/jre/lib/ext/

but I have the feeling, that's not the proper way to do it...

After

rpm -e liquidlnf

Java Web Start works again.


Regards,

Tilman





PS. I am subscribed to the list now.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFF2slo9ZPu6Yae8lkRAuJeAKCJngOPxpMOGvpETjPlTF6I8U+0mQCdGje/
rLL2TB1mSsDOxOeWZpuAp8U=
=YpEy
-----END PGP SIGNATURE-----




More information about the Packman mailing list