Re: swing
ed == Edward Dekkers [EMAIL PROTECTED] writes: ed Hi Ray, thanks for the prompt answer. Are you sure you got the right binary from APC,pbeagent-6.1.0-1.i386.rpm ? ed I think so, it came from: ed URL ed ftp://ftp.apcc.com/apc/public/software/unix/linux/pcbe/610/pbeagent-6.1.0-1. ed i386.rpm rpm -qp --requires pbeagent-6.1.0-1.i386.rpm /bin/sh rpmlib(PayloadFilesHavePrefix) = 4.0-1 ld-linux.so.2 libc.so.6 /bin/sh libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) rpmlib(CompressedFileNames) = 3.0.4-1 ed Yep, that's what mine says too. ed But when I do 'rpm -Uvh pbeagent-6.1.0-1.i386.rpm' I get: ed ed --- ed Preparing... ed ## ed pbeagent ed ## ed ed Error: You need Swing 1.1 or 1.2 in your classpath to run this program. ed ed ed When I remove it it complains that the initscripts aren't there, leading me ed to believe the package never really gets installed properly/fully in the ed first place. ed What am I missing? Is it possible you had an older version of this software installed, if so remove it completely and then re-install. However I suggest you try out apcupsd as a opensource subsitute that seems to offer all the same info. Try out http://www.apcupsd.com/ -- Ray Curtis mailto:[EMAIL PROTECTED] http://www.ccux.com -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: swing
ed == Edward Dekkers [EMAIL PROTECTED] writes: ed But when I do 'rpm -Uvh pbeagent-6.1.0-1.i386.rpm' I get: ed ed --- ed Preparing... ed ## ed pbeagent ed ## ed ed Error: You need Swing 1.1 or 1.2 in your classpath to run this program. ed ed ed When I remove it it complains that the initscripts aren't there, leading me ed to believe the package never really gets installed properly/fully in the ed first place. ed What am I missing? Sorry I didn't fully read and understand your last request. This still sounds like the wrong rpm. I have tried installing this on two platforms 7.2 and 7.3 which never saw anything about swing, I have nothing installed called swing. rpm --checksig pbeagent-6.1.0-1.i386.rpm pbeagent-6.1.0-1.i386.rpm: md5 OK md5sum pbeagent-6.1.0-1.i386.rpm 1cb2faefca96f4322ada6db1828135b5 pbeagent-6.1.0-1.i386.rpm However like I said IMHO apcupsd is a better choice to use. -- Ray Curtis mailto:[EMAIL PROTECTED] http://www.ccux.com -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: swing
On Wed, 2002-08-14 at 12:25, Ray Curtis wrote: ed == Edward Dekkers [EMAIL PROTECTED] writes: ed But when I do 'rpm -Uvh pbeagent-6.1.0-1.i386.rpm' I get: ed ed --- ed Preparing... ed ## ed pbeagent ed ## ed ed Error: You need Swing 1.1 or 1.2 in your classpath to run this program. ed ed ed When I remove it it complains that the initscripts aren't there, leading me ed to believe the package never really gets installed properly/fully in the ed first place. ed What am I missing? Sorry I didn't fully read and understand your last request. This still sounds like the wrong rpm. I have tried installing this on two platforms 7.2 and 7.3 which never saw anything about swing, I have nothing installed called swing. Probably stating the obvious to you guys. It has been several years wince I did any java coding so take the following with that in mind. Sswing is (was?) a sort of tool kit with a lot of gui components built from the original AWT ( I think that is what it was called). Sun originally distributed it seperately but I thought it was included with the jre and sdk since 1.2 (Java 2?) or so. These components were in a file called swing.jar IIRC. Do you have such a file? I do not have a jre or jdk installed seperaltely on my machine according to rpm -qa|grep jre and rpm -qa|grep jdk (except in the browser stuff and no swing there) so I can't really tell what it looks like. do you have a jre installed and if so what version? what is your CLASSPATH set to? I guess you could go to the source at: http://java.sun.com/products/jfc/tsc/index.html Of course this may all be changed now. but at least it will give you something to think about. Seems like there was a licensing issue with redhat and a real sdk being included so I always had to install the sun one. Bret -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: swing
Thanks for the reply Bret. Probably stating the obvious to you guys. It has been several years wince I did any java coding so take the following with that in mind. Sswing is (was?) a sort of tool kit with a lot of gui components built from the original AWT ( I think that is what it was called). Sun originally distributed it seperately but I thought it was included with the jre and sdk since 1.2 (Java 2?) or so. These components were in a file called swing.jar IIRC. Do you have such a file? Nope - although this is exactly what I thought. I do not have a jre or jdk installed seperaltely on my machine according to rpm -qa|grep jre and rpm -qa|grep jdk (except in the browser stuff and no swing there) so I can't really tell what it looks like. do you have a jre installed and if so what version? what is your CLASSPATH set to? I guess you could go to the source at: http://java.sun.com/products/jfc/tsc/index.html Of course this may all be changed now. but at least it will give you something to think about. Seems like there was a licensing issue with redhat and a real sdk being included so I always had to install the sun one. I actually got a call from APC Australia this morning telling me to install the latest Java. I have jre 1.2. I suppose I need jre 2. However, I do not REALLY like the way the Business Edition seems to work (Agent + Server Monitor + Clients), as I would need to run the agent on my Linux box, then the server module AND the client module on my XP PC just to get this information/shutdown capabilities. I thought it was my only choice, but as the other poster kindly pointed out, apcupsd may be a better choice. From what I can tell from the documentation, this allows a master/slave configuration. I will try this package FIRST. If I still run into troubles, I may look at pbe again. However I really do appreciate your comments. You've confirmed what I thought. You're right on the money. Regards, Ed. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
swing
Hey there. I just tried installing APC's PowerChute Business Edition via RPM. The install went OK (I guess), but it is giving me a warning I need Swing in my java folder? It seems to find jre OK - so I went to rpmfind to get the swing (library?). The only one listed was a noarch file, so I downloaded and tried to install it, but it tells me it is for a different operating system. Now I'm confused as hell, because I thought noarch meant it works on anything. Anybody with any insight? P.S. I waited three days on APC's answer before I asked here, but their promised 1 day turnaround is quite obviously bs. -- Edward Dekkers (Director) Triple D Computer Services Pty. Ltd. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: swing
ed == Edward Dekkers [EMAIL PROTECTED] writes: ed Hey there. ed I just tried installing APC's PowerChute Business Edition via RPM. The ed install went OK (I guess), but it is giving me a warning I need Swing in my ed java folder? ed It seems to find jre OK - so I went to rpmfind to get the swing (library?). ed The only one listed was a noarch file, so I downloaded and tried to install ed it, but it tells me it is for a different operating system. ed Now I'm confused as hell, because I thought noarch meant it works on ed anything. ed Anybody with any insight? Are you sure you got the right binary from APC,pbeagent-6.1.0-1.i386.rpm ? rpm -qp --requires pbeagent-6.1.0-1.i386.rpm /bin/sh rpmlib(PayloadFilesHavePrefix) = 4.0-1 ld-linux.so.2 libc.so.6 /bin/sh libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) rpmlib(CompressedFileNames) = 3.0.4-1 -- Ray Curtis mailto:[EMAIL PROTECTED] http://www.ccux.com -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: swing
Hi Ray, thanks for the prompt answer. Are you sure you got the right binary from APC,pbeagent-6.1.0-1.i386.rpm ? I think so, it came from: URL ftp://ftp.apcc.com/apc/public/software/unix/linux/pcbe/610/pbeagent-6.1.0-1. i386.rpm rpm -qp --requires pbeagent-6.1.0-1.i386.rpm /bin/sh rpmlib(PayloadFilesHavePrefix) = 4.0-1 ld-linux.so.2 libc.so.6 /bin/sh libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) rpmlib(CompressedFileNames) = 3.0.4-1 Yep, that's what mine says too. But when I do 'rpm -Uvh pbeagent-6.1.0-1.i386.rpm' I get: --- Preparing... ## pbeagent ## Error: You need Swing 1.1 or 1.2 in your classpath to run this program. When I remove it it complains that the initscripts aren't there, leading me to believe the package never really gets installed properly/fully in the first place. What am I missing? Regards, Ed. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Java AWT/Swing application performs slower on Linux platform ?
On Wednesday, 06 March 2002, jian yang wrote: [snip] One difference I know of is the version of j2sdk, the one on RedHat6.1 is j2sdk-1.2.2, the one on windows machine is j2sdk-1.3. Could the j2sdk version difference cause the application to run slower ? or any other ideas ? Yes. You could try the latest j2sdk-1.4.0 from Sun. It is reported to be much faster. -- The Universe doesn't give you any points for doing things that are easy. -- Sheridan to Garibaldi in Babylon 5:The Geometry of Shadows Dominik 'Rathann' Mierzejewski rathann(at)rangers.eu.org ___ Redhat-devel-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-devel-list
Java AWT/Swing application performs slower on Linux platform ?
Hi; I am developing a stand-alone Java application using AWT/Swing for user interface, the calculation part is very time consuming for large data set, could take about half hour or one hour. The calculation part is the major performance concern part. I tested it on WinNT, Win98 and Win2000, the performances are more or less equivalent, when I tested it on RedHat6.1, it considerably slower, by a couple of folds. One difference I know of is the version of j2sdk, the one on RedHat6.1 is j2sdk-1.2.2, the one on windows machine is j2sdk-1.3. Could the j2sdk version difference cause the application to run slower ? or any other ideas ? Thanks Jian __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ ___ Redhat-devel-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-devel-list
Re: Java AWT/Swing application performs slower on Linux platform ?
jian yang [EMAIL PROTECTED] writes: Could the j2sdk version difference cause the application to run slower ? Yes. Also, the JDK might be less tunes for the Linux platform GUI-wise. -- Trond Eivind Glomsrød Red Hat, Inc. ___ Redhat-devel-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-devel-list
Re: Java AWT/Swing application performs slower on Linux platform ?
jian yang [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... the one on RedHat6.1 is j2sdk-1.2.2, the one on windows machine is j2sdk-1.3. Could the j2sdk version difference cause the application to run slower ? or any other ideas ? Absolutely does the version of the java runtime affect the speed. In particular, the java1.3 jdk includes the hotspot optimizer. -- Rex Dieter Computer System Administrator Department of Mathematics and Statistics University of Nebraska Lincoln ___ Redhat-devel-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-devel-list