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

Regression: JavaWS can not launch JDK 142 app from command line

    Details

    • Subcomponent:
    • Introduced In Version:
      6
    • Resolved In Build:
      b31
    • CPU:
      x86
    • OS:
      windows_xp
    • Verification:
      Verified

      Backports

        Description

        J2SE Version (please include all output from java -version flag):

        java version "1.6.0_10-beta"
        Java(TM) SE Runtime Environment (build 1.6.0_10-beta-b24)
        Java HotSpot(TM) Client VM (build 11.0-b12, mixed mode, sharing)


        Does this problem occur on J2SE 1.3, 1.4.x or 1.5? Yes / No (pick one)

        No


        Operating System Configuration Information (be specific):
        Windows XP Service Pack 2


        Hardware Configuration Information (be specific):
        Standard Windows desktop hardware, freshly installed which means that c:\windows\system32 does not contains a copy of msvcr71.dll

        Bug Description:

        Java Webstart 6u10 beta does not able to launch JDK 1.4.2 based application from the command line. This is due to the fact that Java Webstart cannot find the copy of msvcr71.dll as 1.4.2 does not come with a copy.


        Steps to Reproduce (be specific):

        Create a sample JNLP with j2se version set to 1.4* tag - I have included one that uses SwingSet2:


        <?xml version="1.0" encoding="UTF-8"?>
        <jnlp spec="1.0+" codebase="$$codebase" href="$$name">
        <information>
        <title>SwingSet2</title>
        <vendor>Sun Microsystem</vendor>
        <homepage href="http://java.sun.com"/>
        <description>JNLP Test - SwingSet2 </description>
        <description kind="short">JNLP Test - SwingSet2</description>
        </information>
        <resources>
        <j2se version="1.4*" initial-heap-size="32m" max-heap-size="64m"/>
        <jar href="$$context/jars/SwingSet2.jar" main="true"/>
        </resources>
        <application-desc main-class="SwingSet2"/>
        </jnlp>


        When you deploy this to a web server and run this using Java Webstart command line:

        "c:\Program Files\Java\jre6\bin\javaws.exe" http://server:9394/jnlp/SwingSet2.1.4-STAR.jnlp

        Nothing will appear and a javaw process will be stuck there.

        The launch will work if copy msvcr71.dll into 1.4.2 installation directory.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ngthomas Thomas Ng (Inactive)
                  Reporter:
                  tyao Ting-Yun Ingrid Yao (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: