Installing Oracle JDK on Windows subsystem for Linux

前端 未结 12 1991
半阙折子戏
半阙折子戏 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:25

    I must be missing something... all I did was:

    sudo apt-get update
    sudo apt-get install default-jdk
    
    java -version
    

    output:

    java version "1.7.0_131"
    OpenJDK Runtime Environment (IcedTea 2.6.9) (7u131-2.6.9-0ubuntu0.14.04.2)
    OpenJDK 64-Bit Server VM (build 24.131-b00, mixed mode)
    

提交回复
热议问题