When using the '-cp' flag in jdk1.1.x, the classpath specified at
runtime *replaces* the classpath specified in your environment.  Make
sure that you also specify the location of 'classes.zip' and
'swingall.jar' (if you are using swing, that is) in addition to
'testq.jar'.

-dan
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Lukito Edi Nugroho wrote:

> Hi,
>
> I tried to run an application packed in a JAR file:
> $ jre -cp testq.jar QueueTest
> but got the following message:
>
> Unable to initialize threads: cannot find class java/lang/Thread
> Could not create Java VM
>
> I use jdk-1.1.6, RPM version (jdk-sbb-1.1.6-2.1.2glibc).
> CLASSPATH, JAVA_HOME, and JDK_HOME are all
> set appropriately (I think).
> Am I missing something ?
>
> TIA,
> Lukito

Reply via email to