thanks for all you help faecal, I tried
rpm -ql jdk
and It spit back a lot of paths so I did
rpm -ql jdk | more
and looked for javac
I found the following with the word javac.
so Im assuming I do have a javac file
so them I typed pwd to confirme where I was and I was in
/tmp (the same directory where i tried to compile my code and this is the same directory where the jdk package is located)
Am I trying to compile my code in the wrong directory?
should I be writing and compileing my code in the /usr directory or some other directory in the /usr directory or am I completely off the mark?
this may be related or not but when Im in the /usr directory and type
I see a java directory (as seen in the paths above). so I did an ls -l to make sure and, yes there is a java directory so I tried
cd /java (as both root and a regular user)
and got the same message as both users
cd: /java: No such file or directory
is this related to my problem or does all this have nothing to do with my problem?