- Viewed 53k times45answered 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-jdkOnce the installation is complete, you can verify it by checking the Java version:
$ java -versionThe output should look something like this:
openjdk version "11.0.7" 2020-04-14OpenJDK 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 Install Open JDK on WSL - Java Programming
- Question & Answer
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 …
WSL | IntelliJ IDEA Documentation - JetBrains
Windows Subsystem for Linux Java Setup - DEV Community
A Brief Guide on Setting Up Java with WSL and VSCode
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.
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.
Linux Java Development on Windows (WSL) - GitHub Wiki SEE
install java in wsl2 - Code Ease