Problem On Startup

Subscribe to Problem On Startup 3 post(s), 2 voice(s)

 
Avatar (SF) sam g 3 post(s)

When I try to run JBidWatcher.. I get the following
error..
When I attempt to start the applet with the
usual java command the following errors
appear.. I’m not sure where to move forward
for troubleshooting….

java.lang.ExceptionInInitializerError: [exception was
java.lang.NoClassDefFoundError: Ljavax/swing/UIManager;]
at java.lang.Class.forName(Class.java:native)
at java.lang.Class.forName(Class.java:59)
at kaffe.jar.ExecJarName.main(ExecJarName.java:54)
at kaffe.jar.ExecJar.main(ExecJar.java:71)
java.lang.NoClassDefFoundError: Ljavax/swing/UIManager;
at java.lang.Class.forName(Class.java:native)
at java.lang.Class.forName(Class.java:59)
at kaffe.jar.ExecJarName.main(ExecJarName.java:54)
at kaffe.jar.ExecJar.main(ExecJar.java:71)
[sam@kyle sam]$

I’m fairly certain I’ve got something set up incorrectly
since I still consider myself a linux noob.

Any hints would be greatly appreciated.
Thanks,
Sam
LM8.2
JRE 1.3.1

 
Avatar Morgan Schweers Administrator 1,204 post(s)

Greetings,
JBidwatcher uses the Swing API for doing its graphical user interface. This means that it will not work with Kaffe, the default JVM that gets installed with a ‘raw’ install of RedHat, and some other Linux distributions.

Go to:

http://java.sun.com/getjava

and follow the directions, to get the official Sun version of Java that will work with JBidwatcher. Kaffe is a very old and not totally Java2 compatible, Java Virtual Machine. Sun and IBM both have good free (as in beer) JVM’s for Linux, although IBM unfortunately hasn’t updated theirs recently. (That’s why the URL I gave is for Sun’s version. The IBM one will work, it’s just a little older.)

Good luck!

— Morgan Schweers

 
Avatar (SF) sam g 3 post(s)

thanks for the reply!

I’ll see what I can find.

I’m sure I installed that run time but I’ll give
it another check .

Sam