Help with the find cmd

view full story

http://www.unix.com – Hello, I'm having a trouble with the find cmd. I would like to find all the java versions on my systems. I have solaris 9 & 10 RHEL and SUSIE. Code: java -version doesn't give all the versions on the server. So I am trying to use the find command to find them all Code: find / -name java I would like to exclude some directories such as Solaris zones, /tmp and mounted files systems. I don't need directories, I just what the files. Can someone help me out? (HowTos)