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.

  • Share
  • Share

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

JAVA-JNI , , , ,

  1. admin
    March 20th, 2009 at 10:28 | #1

    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.

  1. No trackbacks yet.