Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6282039

java.exe/javaw.exe need to work with vc7

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b59c
    • CPU:
      generic, x86
    • OS:
      generic, windows_2000, windows_xp

      Description

      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 */

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jkowalsksunw Joseph Kowalski (Inactive)
              Reporter:
              billyh William Harnois
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: