

Tip: Right-click pastes text into the terminal window.

#INSTALL OPENJDK 11 WSL UPDATE#
In the Ubuntu shell window that opened above, run the following commands: sudo apt-get update & sudo apt-get upgrade -y ℹ️ Run the package manager to get the latest updates.
#INSTALL OPENJDK 11 WSL PASSWORD#
The username does not need to match your Windows username.Įnter a username and password to complete the installation. Please create a default UNIX user account. The shell opens and displays the following message: Installing, this may take a few minutes. When the installation is complete, click Launch. Select Ubuntu 20.04 LTS and click Install. Open the Microsoft Store app and search for “Linux.”
#INSTALL OPENJDK 11 WSL INSTALL#
Install Linux from the Microsoft Store, the same way you install other applications on Windows. Install your preferred Linux distribution For more information on installing WSL 2, including troubleshooting, see Windows Subsystem for Linux Installation Guide for Windows 10. Your output should resemble the following: For information on key differences with WSL 2 please visit In PowerShell, run the following command to set WSL 2 as the default version for your Linux distributions: wsl -set-default-version 2 If you’re prompted for elevated permissions, select Yes to approve the installation. In PowerShell, run the following command: dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart Get the Linux kernel updateĭownload the Linux kernel update package, which is a regular Windows Installer (.msi) file.ĭouble-click the. WSL 2 requires the Virtual Machine Platform feature. Your output should resemble the following: Deployment Image Servicing and Management tool Open PowerShell as an administrator, and run the following command: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart Turn on the Windows Subsystem for Linux feature before installing a Linux distribution. When you’re sure that Windows is up to date, follow these instructions below to install WSL 2. If you’re on the Windows Update train, you probably have the latest version and are good to go. In the “Windows specifications” section, find the “OS build.” Click Start and navigate to Settings > System > About. Make sure you’re running Windows 10, version 1903.18362 or higher. Microsoft describes WSL 2 as “a GNU/Linux environment-including most command line tools, utilities, and applications-directly on Windows, unmodified, without the overhead of a traditional virtual machine or dual boot setup.” The Windows Subsystem for Linux 2 makes it all possible. Kafka on Windows? What made this possible?.Kafka and Windows: The good, the bad, and the ugly.Install your preferred Linux distribution.Windows still isn’t the recommended platform for running Kafka with production workloads, but for trying out Kafka, it works just fine. Is Windows your favorite development environment? Do you want to run Apache Kafka ® on Windows? Thanks to the Windows Subsystem for Linux 2 (WSL 2), now you can, and with fewer tears than in the past.
