-
Bug
-
Resolution: Fixed
-
P2
-
6
-
b59c
-
generic, x86
-
generic, windows_2000, windows_xp
The upgrade to vc7 means that we now have a dependency on these dll's: msvcp71.dll and msvcr71.dll
According to Microsoft, we aren't supposed to copy the dll's to the system directory like we did with msvcrt.dll in previous releases:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_c_run.2d.time_libraries.asp
So with the upgrade to vc7, we are copying these dll's to the jdk/bin and jre/bin directories for all of those .exe's/dll's to use, but the java.exe/javaw.exe in the system directory will not have access to them. So we probably need to statically link these into the java.exe/javaw.exe executables.
###@###.### 2005-06-07 23:29:26 GMT
Same problem reported by a CAP member which stop them to continually test
mustang build:
----------------------------------
J2SE Version (please include all output from java -version flag):*
java version "1.6.0-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b42)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b42, mixed mode, sharing)
*Does this problem occur on J2SE 1.4.x or 5.0.x? Yes / No (pick one) *
No
*Operating System Configuration Information (be specific): *
XP SP2 with the very latest updates. No other product, just Java.
*Hardware Configuration Information (be specific): *
Platform configuration:
CPU: Intel 32bit Single Processor
Processor Speed: 1893 MHz
*Bug Description: *
See attached screen captures.
I get a message saying the MSVCR71.DLL is missing.
*Steps to Reproduce (be specific): *
Try what follows :
Type : jdb -sourcepath .; Test
Type : run
Best regards,
Jean-Bernard Clerin
______________________________________________________________________________________
/**
* Test.java
*/
/**
* Class: Test
*/
public class Test
{
/**
* Constructor: Test
* @return instance of Test
*/
public Test()
{
super();
System.out.println("# ..................");
} /* End of Constructor: Test */
/**
* Method: main <br>
* Note: Called only if we're an application. <br>
* @param java.lang.String[] args the command line arguments
* @return void
*/
public static void main(java.lang.String[] args)
{
try
{
/* Creates new MainObject */
Test self = new Test();
} /* End try */
catch (java.lang.Throwable exc)
{
/* Remove this comment and specialize processing here. */
exc.printStackTrace(System.err);
} /* End catch */
} /* End of Method: main */
} /* End of Class: Test */
According to Microsoft, we aren't supposed to copy the dll's to the system directory like we did with msvcrt.dll in previous releases:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_c_run.2d.time_libraries.asp
So with the upgrade to vc7, we are copying these dll's to the jdk/bin and jre/bin directories for all of those .exe's/dll's to use, but the java.exe/javaw.exe in the system directory will not have access to them. So we probably need to statically link these into the java.exe/javaw.exe executables.
###@###.### 2005-06-07 23:29:26 GMT
Same problem reported by a CAP member which stop them to continually test
mustang build:
----------------------------------
J2SE Version (please include all output from java -version flag):*
java version "1.6.0-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b42)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b42, mixed mode, sharing)
*Does this problem occur on J2SE 1.4.x or 5.0.x? Yes / No (pick one) *
No
*Operating System Configuration Information (be specific): *
XP SP2 with the very latest updates. No other product, just Java.
*Hardware Configuration Information (be specific): *
Platform configuration:
CPU: Intel 32bit Single Processor
Processor Speed: 1893 MHz
*Bug Description: *
See attached screen captures.
I get a message saying the MSVCR71.DLL is missing.
*Steps to Reproduce (be specific): *
Try what follows :
Type : jdb -sourcepath .; Test
Type : run
Best regards,
Jean-Bernard Clerin
______________________________________________________________________________________
/**
* Test.java
*/
/**
* Class: Test
*/
public class Test
{
/**
* Constructor: Test
* @return instance of Test
*/
public Test()
{
super();
System.out.println("# ..................");
} /* End of Constructor: Test */
/**
* Method: main <br>
* Note: Called only if we're an application. <br>
* @param java.lang.String[] args the command line arguments
* @return void
*/
public static void main(java.lang.String[] args)
{
try
{
/* Creates new MainObject */
Test self = new Test();
} /* End try */
catch (java.lang.Throwable exc)
{
/* Remove this comment and specialize processing here. */
exc.printStackTrace(System.err);
} /* End catch */
} /* End of Method: main */
} /* End of Class: Test */
- duplicates
-
JDK-6285792 java -version pops up "java.exe - Unable To Locate DLL" error dialog
- Closed
- relates to
-
JDK-6368613 REG:java is not working after mustang upgrade/downgrage from/to 1.3.1_X/1.4.2_X/1.5.0_X on windows
- Resolved
-
JDK-6282102 javaws.exe need to work with vc7
- Closed
-
JDK-6362965 REG : command window pops up during jdk/jre installation
- Closed
-
JDK-6754862 jdk/src/windows/bin/java_md.c: hardcoded reference to msvcr71.dll
- Closed
-
JDK-6281315 VC7 builds required both msvcp71.dll and msvcr71.dll
- Resolved
(1 relates to)