Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu User (http://www.linux-archive.org/ubuntu-user/)
-   -   Problem with Java PS3 Media Server (swing library missing) (http://www.linux-archive.org/ubuntu-user/254446-problem-java-ps3-media-server-swing-library-missing.html)

Ben Edwards 02-28-2009 03:38 PM

Problem with Java PS3 Media Server (swing library missing)
 
I have been trying to get the PS3 media server
(http://linux.softpedia.com/get/Utilities/PS3-Media-Server-43834.shtml)
and when I try to run it I get the following error (full log at end of
email):-

[main] TRACE 16:35:29.436 Class not found: javax/swing/GroupLayout$Group
Exception in thread "main" java.lang.NoClassDefFoundError: java/awt/SystemTray
at net.pms.util.PMSUtil.addSystemTray(PMSUtil.java:39 )
at net.pms.newgui.LooksFrame.<init>(LooksFrame.java:2 42)
at net.pms.PMS.init(PMS.java:280)
at net.pms.PMS.get(PMS.java:895)
at net.pms.PMS.main(PMS.java:957)

It seems to be saying it can not find a swing class;(. I hove done a
bit of googeling and tryd to install packages that look theke they are
to do with swing but no luck Any oideas?

Regards,
Ben

ben@heron:~/pms-linux-1.04$ ./PMS.sh
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb1f067c7]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb1f06891]
#2 /usr/lib/libX11.so.6(_XReply+0x254) [0xb0953494]
#3 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so
[0xb0b75dce]
#4 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so
[0xb0b5fd77]
#5 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so
[0xb0b5fef3]
#6 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_ini tDisplay+0x26)
[0xb0b60136]
#7 [0xb2726c1b]
#8 [0xb2720b3b]
#9 [0xb2720b3b]
#10 [0xb271e219]
#11 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/client/libjvm.so
[0xb78c12ec]
#12 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/client/libjvm.so
[0xb79d5f08]
#13 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/client/libjvm.so
[0xb78c111f]
#14 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x32d)
[0xb791ebcd]
#15 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/libjava.so(Java_java_security_AccessController_doP rivileged__Ljava_security_PrivilegedAction_2+0x3d)
[0xb76bd30d]
#16 [0xb27264bb]
#17 [0xb2720a64]
#18 [0xb271e219]
#19 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/client/libjvm.so
[0xb78c12ec]
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb1f067c7]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb1f0696e]
#2 /usr/lib/libX11.so.6 [0xb0952619]
#3 /usr/lib/libX11.so.6(XGetVisualInfo+0x26) [0xb0948666]
#4 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so
[0xb0b5f0b9]
#5 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so
[0xb0b5f303]
#6 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so
[0xb0b5ffa1]
#7 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_ini tDisplay+0x26)
[0xb0b60136]
#8 [0xb2726c1b]
#9 [0xb2720b3b]
#10 [0xb2720b3b]
#11 [0xb271e219]
#12 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/client/libjvm.so
[0xb78c12ec]
#13 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/client/libjvm.so
[0xb79d5f08]
#14 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/client/libjvm.so
[0xb78c111f]
#15 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x32d)
[0xb791ebcd]
#16 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/libjava.so(Java_java_security_AccessController_doP rivileged__Ljava_security_PrivilegedAction_2+0x3d)
[0xb76bd30d]
#17 [0xb27264bb]
#18 [0xb2720a64]
#19 [0xb271e219]
[main] TRACE 16:35:29.436 Class not found: javax/swing/GroupLayout$Group
Exception in thread "main" java.lang.NoClassDefFoundError: java/awt/SystemTray
at net.pms.util.PMSUtil.addSystemTray(PMSUtil.java:39 )
at net.pms.newgui.LooksFrame.<init>(LooksFrame.java:2 42)
at net.pms.PMS.init(PMS.java:280)
at net.pms.PMS.get(PMS.java:895)
at net.pms.PMS.main(PMS.java:957)

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Matthew Flaschen 03-01-2009 01:19 PM

Problem with Java PS3 Media Server (swing library missing)
 
Ben Edwards wrote:
> It seems to be saying it can not find a swing class;(. I hove done a
> bit of googeling and tryd to install packages that look theke they are
> to do with swing but no luck Any oideas?

There's no mystery. You're using Java 1.5 and GroupLayout was
introduced in 1.6
(http://java.sun.com/javase/6/docs/api/javax/swing/GroupLayout.html).

Matt Flaschen

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


All times are GMT. The time now is 08:58 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.