archlinux-java command not found

I was setting default jdk version, and it was worked just fine few days ago
Suddenly "java" command stop working in bash

So i was thing about changing it again using "archlinux-java status" command
i noticed it also stopped working , i got message command not found

You may accidentally have removed it - reinstall the package

sudo pacman -S archlinux-java

There is no archlinux-java package, the command comes with java-runtime-common:

$ pacman -Qo /usr/bin/archlinux-java
/usr/bin/archlinux-java is owned by java-runtime-common 3-2

So (re)install that package:

$ sudo pacman -S java-runtime-common

You are right - where did I get that idea?

Thanks ,, it worked ,
i reinstalled java with pacman then its worked nicely

Thanks a lot bro!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by