0

I'm trying to install Amazon Corretto on Manjaro Linux. As it's available on AUR, I installed it using Yay. However, whenever running any command, it's not found.

enter image description here

enter image description here

How do I properly set it?

  • You could check the installed files: pacman -Ql amazon-corretto-11 – rudib Dec 27 '19 at 12:25
  • @rudib thanks... post updated. all the files are there – MrAnderson Dec 27 '19 at 15:28
1

The problem is fixed. All I had to run is the following command.

sudo archlinux-java fix

Arch Wiki

enter image description here

  • Nice! What I was going to do is look for */bin/java and create a symlink or add it to PATH, but it looks like archlinux-java fix does that for you. But please use text formatted as code when including terminal output (instead of screenshots). It makes it easier to read and especially copy. – rudib Dec 27 '19 at 18:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.