8180202: -XXaltjvm is not working anymore on MacOSX

Reviewed-by: dholmes
This commit is contained in:
Kumar Srinivasan 2017-05-16 07:17:08 -07:00
parent 7466e6f833
commit b0e4f83d40

View File

@ -424,7 +424,7 @@ GetJVMPath(const char *jrepath, const char *jvmtype,
* macosx client library is built thin, i386 only.
* 64 bit client requests must load server library
*/
JLI_Snprintf(jvmpath, jvmpathsize, "%s/lib/server/" JVM_DLL, jrepath);
JLI_Snprintf(jvmpath, jvmpathsize, "%s/lib/%s/" JVM_DLL, jrepath, jvmtype);
}
JLI_TraceLauncher("Does `%s' exist ... ", jvmpath);