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

Default Java version is not updated for double click jar execution

XMLWordPrintable

    • b02
    • windows
    • Verified

        1- install JDK 15.0.1
        2- install JDK 8u271 x64

        Default java now set back to 8u271.

        Running a Java jar file (java -jar software.jar) or java -version select JDK 8u271 x64 by default (latest installed).
        But running a jar file by doing a double click on the desktop or from the file explorer still use JDK 15.0.1, while it should use instead JDK 8u271 x64 (default java).

              asemenyuk Alexey Semenyuk
              shadowbug Shadow Bug
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: