About 205,000 results
Open links in new tab
    Upvotes45answered Nov 26, 2020 at 0:47

    Run the following commands as a user with sudo privileges or root to update the packages index and install the OpenJDK 11 JDK package:

    $ sudo apt update
    $ sudo apt install openjdk-11-jdk

    Once the installation is complete, you can verify it by checking the Java version:

    $ java -version

    The output should look something like this:

    openjdk version "11.0.7" 2020-04-14
    OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-3ubuntu1)
    OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-3ubuntu1, mixed mode, sharing)

    Set JAVA_HOME Environment Variable: OpenJ...

    Content Under CC-BY-SA license
    Was this helpful?
  1. Install Open JDK on WSL - Java Programming

  2. Installing Oracle JDK on Windows subsystem for Linux

    Apr 7, 2016 · The steps I did for a fresh install of Oracle JDK 8 on my Bash (Windows 10): sudo apt-get install python-software-properties. sudo add-apt-repository ppa:webupd8team/java. sudo apt-get update. sudo apt-get install …

  3. WSL | IntelliJ IDEA Documentation - JetBrains

  4. Windows Subsystem for Linux Java Setup - DEV Community

  5. A Brief Guide on Setting Up Java with WSL and VSCode

  6. Install Java on Windows 10 Linux subsystem | by Pierre …

    May 11, 2020 · Some of us would install Java using built-in IntelliJ JDK installation tool. But some others would prefer installing it on a Windows Subsystem for Linux.

  7. Development Environment in WSL2 - DEV Community

    May 25, 2020 · This guide shows how to setup a full development environment including UI apps (X11) in WSL2 on Windows 10. WSL2 enables a "full" Linux development environment in Windows.

  8. Linux Java Development on Windows (WSL) - GitHub Wiki SEE

  9. install java in wsl2 - Code Ease