How to install OpenJDK 11 on Windows?

前端 未结 5 1971
礼貌的吻别
礼貌的吻别 2020-12-04 04:30

In the past, Oracle used to publish an executable installers for Windows that would:

  • Unpack files
  • Add registry keys indicating the installed version a
5条回答
  •  执笔经年
    2020-12-04 05:03

    Use the Chocolatey packet manager. It's a command-line tool similar to npm. Once you have installed it, use

    choco install openjdk
    

    in an elevated command prompt to install OpenJDK.

    To update an installed version to the latest version, type

    choco upgrade openjdk
    

    Pretty simple to use and especially helpful to upgrade to the latest version. No manual fiddling with path environment variables.

提交回复
热议问题