Installing Oracle JDK on Windows subsystem for Linux

前端 未结 12 1962
半阙折子戏
半阙折子戏 2020-12-12 12:34

When trying to use the Linux version of Oracle\'s JDK on the latest Windows 10 build having support for bash, I am running into a problem with the prompt hanging whenever at

12条回答
  •  粉色の甜心
    2020-12-12 13:24

    I had the same problem but I solve it with one command:

    sudo apt upgrade
    

    then run these 3 commands:

    sudo apt install default-jre
    sudo apt install openjdk-11-jre-headless
    sudo apt install openjdk-8-jre-headless
    

提交回复
热议问题