I recently installed Java on my Arch system, but I'm running into a problem where the terminal says that the command is not found. Before this, I had a previous version installed, specifically JDK 8. I'm not sure what went wrong or what steps to take next. Can anyone guide me on how to fix this?
1 Answer
First, lets check how you installed Java. Can you share the exact command you used for the installation? If you used a package manager, what package did you choose? Make sure the installation was successful.
I installed it using the official link to the JDK 24 tar.gz file. A chatbot helped me through the process, but now I'm stuck since it closed and I can't see the instructions anymore!