Installing Oracle JDK on Windows subsystem for Linux

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

    I'm confirming here that Oracle JDK Version 8u102, x64 for linux is installable ok on Windows 10 Insider Build 14905, released on 16th August 2016.

    Downloadable from here after accepting license

    C:\>systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
    OS Name:                   Microsoft Windows 10 Pro Insider Preview
    OS Version:                10.0.14905 N/A Build 14905
    

    I followed the instructions here: wikiHow Oracle Java Install

    $ java -version
    java version "1.8.0_102"
    Java(TM) SE Runtime Environment (build 1.8.0_102-b14)
    Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)
    
    $ javac -version
    javac 1.8.0_102
    

    I've not yet had a chance to really stress this install, but this is better than the previous hangs.

提交回复
热议问题