diff --git a/src/solaris/native/sun/awt/awt_LoadLibrary.c b/src/solaris/native/sun/awt/awt_LoadLibrary.c --- a/src/solaris/native/sun/awt/awt_LoadLibrary.c +++ b/src/solaris/native/sun/awt/awt_LoadLibrary.c @@ -187,6 +187,13 @@ awtHandle = dlopen(buf, RTLD_LAZY | RTLD_GLOBAL); + /* + * Third-party applications expect libjawt to be available + */ + JNU_CallStaticMethodByName(env, NULL, "java/lang/System", "loadLibrary", + "(Ljava/lang/String;)V", + JNU_NewStringPlatform(env, "jawt")); + return JNI_VERSION_1_2; }