Help! I Installed Java on Arch, but I'm Getting 'Command Not Found'
Asked by
TechyNinja82
I recently installed Java on my Arch Linux system, but now I'm facing an issue where it says the command is not found. I previously had an older version, JDK 8, installed. Can anyone help me troubleshoot this?
Answers
Just to clarify, did you download the JDK directly from the official Java website and extract it from a tar.gz file? If that's the case, make sure you added the Java bin directory to your PATH. This is often the reason why the command isn't recognized.
Reply to this answer
First things first, how did you go about installing Java? If you could share the exact command you used or the package name from your package manager, that would help a lot! Knowing how you installed it will let us figure out why the command isn't recognized.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions