I'm a newbie to
Linux so please forgive me for asking such stupid question!
jdk1.7.0.rpm package in
Where I do find the
path and to
execute my first
Try either of the two:
For your first java program read this tutorial:
You can list the installed files with
You will see somewhere a
But if the JDK RPM was correctly installed you should already find
and if everything compiles
(If you didn't change anything the current directory
Knowing this may be desirable for setting a user or application's
If you would like more control over where Java gets installed, such as in
Other similar questions, are asking about how to find any binary or file, in the general case.
Just an PS: on MacOS, Java is usually installed at '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home', where the version number could be different.