You are not logged in.

#1 2021-08-13 15:18:59

kesarling
Member
Registered: 2021-08-13
Posts: 6

Installing Microsoft's build of OpenJDK in Arch Linux

These are the exact steps I followed:

```sh
<already in my AUR_Programs folder>
git clone https://aur.archlinux.org/jdk11-msopenjdk-bin.git
cd "jdk11-msopenjdk-bin"
makepkg -si
<y on the install prompt>
```

After these steps it said "installed successfully"


----------

However, even after restarting the shell (and my machine), it says no java installed. 
Where have I gone wrong?

Offline

#2 2021-08-13 15:29:43

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Installing Microsoft's build of OpenJDK in Arch Linux

kesarling wrote:

However, even after restarting the shell (and my machine), it says no java installed.

What does this mean?

What's the output of...

archlinux-java status

No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2021-08-13 15:34:15

kesarling
Member
Registered: 2021-08-13
Posts: 6

Re: Installing Microsoft's build of OpenJDK in Arch Linux

Output of archlinux-java status

Available Java environments:
  java-11-msopenjdk
No Java environment set as default

Offline

#4 2021-08-13 15:42:27

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Installing Microsoft's build of OpenJDK in Arch Linux

So follow the instructions in the wiki...
https://wiki.archlinux.org/title/Java#S … etween_JVM


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2021-08-13 15:45:03

kesarling
Member
Registered: 2021-08-13
Posts: 6

Re: Installing Microsoft's build of OpenJDK in Arch Linux

Hey! That worked like charm. Thanks loads smile

Offline

Board footer

Powered by FluxBB