Hi Eric,
in JDK 1.1.x, you have to include the standard classes in the CLASSPATH.
Depending on your installation, include something like
/usr/local/java/lib/classes.zip. With JDK1.2.x, this is no longer
necessary.
Another hint: swingall.jar contains all the other swing-related jars
(swing.jar, window.jar, multi.jar,....). So mentioning swingall.jar in
the CLASSPATH should be enough.
Matthias
Eric Chao wrote:
>
> Hi, Java complains
> " Unable to initialize threads: cannot find class java/lang/Thread
> Could not create Java VM"
> when I try to run Swing examples in the
> /usr/local/swing-1.1.1fcs/example
>
> The exact error message that I get is listed below:
> =======================================================
> [root@ SwingSet]# ./runnit
> /usr/local/jdk117_v3/bin/java -classpath
>
>.:/usr/local/swing-1.1.1fcs/swing.jar:/usr/local/swing-1.1.1fcs/motif.jar:/usr/local/swing-1.1.1fcs/multi.jar:/usr/local/swing-1.1.1fcs/windows.jar:/usr/local/swing-1.1.1fcs/mac.jar:SwingSet.jar:.:/usr/local/swing-1.1.1fcs/swingall.jar:/usr/local/swing-1.1.1fcs/motif.jar
> SwingSet
> Unable to initialize threads: cannot find class java/lang/Thread
> Could not create Java VM
>
> [root@ SwingSet]# pwd
> /usr/local/swing-1.1.1fcs/examples/SwingSet
> ========================================================
> Thanks for any suggestions.
>
> Chang-Cheng (Eric) Chao
> [EMAIL PROTECTED]
> Merlin Software Technologies Inc.
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]