You must install a Solaris patch to run the native threads version of the Java runtime. The green threads version will work without this patch. Please check the native threads release notes for more information. If you are embedding the VM in a native application, please make sure that the native application is linked with libthread.so (-lthread)." Exiting.
March 20th, 2009
Applies to:
Solaris, JNI
Description:
Occurs when your application embedding the native threads VM is not linked against -lthread
Cause:
Your application embedding the native threads VM is not linked against -lthread
If after linking your a.out with -lthread, you continue to see the problem check if your libthread.so has a symbol named __gettsp. You can check this by using the following command:
$ nm /usr/lib/libthread.so | grep __gettsp
If you don’t see that symbol you are missing the patches.