5 ms·
As a Java dev it's kinda fun to compare the experience. ## Installing a JDK on windows -Search google/whatever -Click on first link -Find .exe -Agree to te
by midasz 3y ago
As a Java dev it's kinda fun to compare the experience.
## Installing a JDK on windows
-Search google/whatever
-Click on first link
-Find .exe
-Agree to terms and conditions
-Click download
-Have to login with oracle account
-(I stopped here)
## Installing JDK on ubuntu
-Open terminal
-sudo apt install openjdk-8-jdk
- y, enter
-done
- dist-epoch 3y agoHere you go, works on default Windows 10/11 install: - open terminal - winget install -e --id ojdkbuild.openjdk.11.jdk > The winget command line tool enables users to discover, install, upgrade, remove and configure applications on Windows 10 and Windows 11 computers. This tool is the client interface to the Windows Package Manager service. https://learn.microsoft.com/en-us/windows/package-manager/winget/ https://learn.microsoft.com/en-us/windows/package-manager/wi...
- josefx 3y agoAh, winget. Another proof that Microsoft never stopped being abusive as fuck. Inviting over open source developers under false pretenses, milking them for all the knowledge of their projects and then proceeding to ghost them for months before releasing a complete ripoff of the original open source project. At least they wont suffer a culture clash from the Activision acquisition.
- ayewo 3y agoFor anyone wondering about which OSS project Microsoft mistreated, the commenter is referring to AppGet. https://news.ycombinator.com/item?id=23331287 https://news.ycombinator.com/item?id=23331287
- charcircuit 3y agoIf you want to install the oracle jdk on Linux you have to download it from oracle's website too. Downloading openjdk on windows doesn't require an oracle account. https://jdk.java.net/20/ https://jdk.java.net/20/
- Shaanie 3y agoAlternatively, download intellij and it'll install whichever JDK you want for you.