I downloaded Java and got the error: “Unable to initialize threads — cannot find class java/lang/thread”. What should I do?
For most users, the Java wrapper script will take care of setting the JAVA_HOME environment variable and will add the appropriate entries to the CLASSPATH so that the JVM finds the standard API classes. The PATH environment variable needs to include a path to the Java wrapper script. People writing applications with non-Java mains may need to worry about the setting of CLASSPATH and SHLIB_PATH.
Related Questions
- After I downloaded and installed the Freeview Pro, I tried to run Freeview, but I got an error message saying "Database error" What should I do?
- I got an error like ‘Error starting Media Console: Class ‘net.rim.device.api.ui.component.keywordfilterfield not found’. What should I do?
- How to generate thread dump java on out of memory error?