I recently installed Java on my Arch system, but I'm running into an issue where the command isn't found. Previously, I had a different version, JDK 8, installed but now I'm trying to use a newer version. I could really use some guidance on how to resolve this. Any tips?
2 Answers
Just to toss some ideas out there, if you used the official JDK tar.gz file, ensure that you’ve set the PATH variable correctly. If you're not familiar with setting up environment variables in Linux, I can help walk you through it!
It sounds like there might be an issue with your installation method. Could you share how you installed it? Knowing the exact command or package name will help us figure things out for you!
I used the official link and installed the JDK 24 tar.gz. I’m still a bit new to this, so I might need help with the PATH variable setup.