How do I find my Java path in Linux?

Hoàng Minh An

New member
How do I find my Java path in Linux?
Answer
Alternatively, you can use the whereis command and follow the symbolic links to find the Java path. The output tells you that Java is located in /usr/bin/java. Inspecting the directory shows that /usr/bin/java is only a symbolic link for /etc/alternatives/java.
 

Tìm kiếm

Back
Top