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

JRE installation causes javapath\java launcher to fail

    XMLWordPrintable

Details

    • x86_64
    • windows_7

    Description

      FULL PRODUCT VERSION :
      java version "9-ea"
      Java(TM) SE Runtime Environment (build 9-ea+128)
      Java HotSpot(TM) Server VM (build 9-ea+128, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.1.7601]

      A DESCRIPTION OF THE PROBLEM :
      From a Windows command line with C:\ProgramData\Oracle\Java\javapath in the PATH, typing 'java' should launch a JVM. After installing a Java 9 JRE the command fails.

      REGRESSION. Last worked in version 8u112

      ADDITIONAL REGRESSION INFORMATION:
      java version "9-ea"
      Java(TM) SE Runtime Environment (build 9-ea+128)
      Java HotSpot(TM) Server VM (build 9-ea+128, mixed mode)


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Install a Java 8 JRE
      2. Open a windows command prompt and type java, the JVM should launch normally and give the usage instructions
      3. Install a Java 9 JRE
      4. Type java, the JVM should launch normally and give the usage instructions

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The JVM version 9 should launch correctly
      ACTUAL -
      The JVM fails to launch

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Error: could not find java.dll
      Error: Could not find Java SE Runtime Environment.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      Attachments

        Activity

          People

            avshastr Avani Shastri (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: