Where is java installed?

507    Asked by JoaquinaMesser in Java , Asked on Oct 6, 2022

I've installed the jdk1.7.0.rpm package in RHEL6.

Where do I find the path to execute my first java program?

Answered by Joe Short

Your question - where is java installed can be answered as -


Try either of the two:

$ which java

$ whereis java

For your first java program read this tutorial:

"Hello World!" for Solaris OS and Linux



Your Answer

Interviews

Parent Categories