Hacker News new | ask | show | jobs
by midasz 1063 days 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

3 comments

If 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/

Here 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/wi...

Ah, 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.

For anyone wondering about which OSS project Microsoft mistreated, the commenter is referring to AppGet.

https://news.ycombinator.com/item?id=23331287

Alternatively, download intellij and it'll install whichever JDK you want for you.