Ok, I've finally figured out that I have to set
CLASSPATH=/usr/local/jdk118_v1/lib/classes.zip, even thought the
documentation seem pretty clear about _un_setting the CLASSPATH. So now I
can compile and run my "hello world" program. Off I go to try the Oracle
Installer again. This time I get:
Initializing Java Virtual Machine from /usr/local/jre/bin/jre. Please
wait...
Error in CreateOUIProcess(): -1
: Bad address
Any ideas on this one? Since can run my "hello world" program, I guess this
one probably has to do with the Oracle Installer, not Java, huh?
> From: linux <[EMAIL PROTECTED]>
> Date: Wed, 26 Jul 2000 10:42:59 -0400
> To: <[EMAIL PROTECTED]>
> Subject: Unable to initialize threads
>
> I downloaded JDK118_v1 so that I could run the Oracle 8i installer. The JDK
> README seemed clear, so I put the JDK directory in /usr/local, and created the
> symbolic link, /usr/local/jre, that the Oracle installer requires. I set my
> PATH to /usr/local/jre/bin:/usr/local/bin:/usr/bin:/bin and tried running some
> of the Java demos. They work just fine using either Netscape or the
> appletviewer. But whenever I try to invoke jre, I get the error:
>
> Unable to initialize threads: cannot find class java/lang/Thread
> Could not create Java VM
>
> I've tried several things that the documentation seemed to suggest, like
> "unsetting" CLASSPATH, setting the THREADS_FLAG environment variable to both
> "native" and "green," changing the DEFAULT_THREADS_FLAG to both options in the
> .java_wrapper and running as different users. I even tried downloading
> JRE_116_v5, but got exactly the same error. Oh, and BTW, I'm using the KDE
> window manager, not Enlightenment.
>
> Since I get the error any time I try to invoke jre, it's not the Oracle
> Installer, so what is the problem? I've spent two days on it now, and I'm not
> any closer to a solution!
>
> --
> Matthew Plumb, President
> Reality-Based Consulting, Inc.
>
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]