Where is java installed?
I've installed the jdk1.7.0.rpm package in RHEL6.
Where do I find the path to execute my first java program?
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