On Tuesday 09 October 2001 04:54 pm, zentara wrote:
I have the O'Reilly cd Bookshelf, which contains a java search engine which runs on port 6016.
It used to run fine under my old 6.4 distribution.
Under 7.2, when I run the "startup.sh" script I get the error message: "Unable to initialize threads: cannot find class java/lang/Thread Could not create Java VM"
I have the java1.18 and jre1.17 rpm's installed.
Anyone know what this means?
Thanks
Most likely your CLASSPATH environment variable isn't set right. Don't look for a problem with threading per se...it just happens that this is one of the first classes the JVM tries to load. Watch for command-line options on the "java" command that may be overriding a perfectly good CLASSPATH environment variable with a class path that's missing the Java core classes. Some JRE implementations have the command-line parms completely replace the contents of CLASSPATH, while others have the command parms appended or prepended with the existing CLASSPATH. At least one JRE used to (and maybe still does) allow different flags on the command line to do any of these three things. The syntax help for your "java" executable ("java -h" or "java --help", again depending on which JRE you have) probably will tell you about the class path behavior. Re-post if this tip isn't enough to get you on your way, and I'll go into more detail. Scott -- -----------------------+------------------------------------------------------ Scott Courtney | "I don't mind Microsoft making money. I mind them courtney@4th.com | having a bad operating system." -- Linus Torvalds http://www.4th.com/ | ("The Rebel Code," NY Times, 21 February 1999)