TCLUG Development Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG-DEVEL:189] Swing components in IE or Netscape



Bob Tanner <tanner@real-time.com> writes:

> Quoting Jon Schewe (jpschewe@eggplant.mtu.net):
> > Can you post the errors from the java console?  I do remember there being some
> > issues with the event queue, but those should be able to be ignored.  That or
> > look on the developer connection for ways to get rid of them.
> 
> Sorry, I upgraded to 4.7 Netscape, linux and this is the error I get now. :-)
> 
> # Verifier error
> # javax/swing/SwingUtilities.doPrivileged(Ljava/lang/Runnable;)V: Cannot find
> # class java/security/PrivilegedAction

Do you have a swing.jar file in your classpath?  You probably shouldn't.  Make
a shell script for netscape like so:

#!/bin/sh
MOZILLA_HOME=/usr/local/netscape-4.72-128
export MOZILLA_HOME
CLASSPATH=""
export CLASSPATH
exec ${MOZILLA_HOME}/netscape $*

This will make sure you're just using the classpath that netscape defines and
no extra libraries that might screw it up.  It appears to be finding your
swing classes all right, just having a little trouble with some java classes.


-- 
Jon Schewe 
http://eggplant.mtu.net/~jpschewe
schewe@tcfreenet.org