EVALUATION
If the other products are using a custom launcher and trying to use the jvm.dll, they
should correctly open the msvcrXX.dll using LoadLibrary, or set the %PATH% variable correctly.
If a customer really needs this, they can escalate.
|
|
|
EVALUATION
Rather than place msvcr71.dll in JAVA_HOME\bin, SAS is suggesting to place it in JAVA_HOME\bin\client.
For JNI implementers such as SAS, they could then use LoadLibraryEX(full_jvm_dll_path, NULL, LOAD_WITH_ALTERED_SEARCH_PATH ) and not run into this issue.
Is there a technical reason we can not move msvcr71.dll into JAVA_HOME\bin\client, (or place a copy or soft link?)
|
|
|
EVALUATION
Java SE 6 has been shipping to millions of users since 2006. Moving or copying msvcr71.dll may potentially break existing deployments of Java. Therefore, we
cannot accept the suggested fix as submitted.
|
|
|
EVALUATION
Windows Java SE 6 applications using custom launchers must be installed with msvcr71.dll in the same directory as the launcher executable. According to http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_CRT_C_Run.2d.Time_Libraries.asp, this is the new Microsoft C runtime distribution model:
"An application should use and redistribute msvcr71.dll, and it should avoid placing a copy or using an existing copy of msvcr71.dll in the system directory. Instead, the application should keep a copy of msvcr71.dll in its application directory with the program executable. Any application built with Visual C++ .NET using the /MD switch will necessarily use msvcr71.dll."
Unfortunately there's nothing we can do in jvm.dll to work around this.
We should still update the documentation to reflect this so that customers are aware - a separate bug will be filed for that purpose.
Closing as "not a defect".
|
|
|
|