Results 1 to 8 of 8
I am having a hard time trying to find the Java Runtime client on my RHEL system. Any help? Preferably, the whole path, like, /usr/local/lib....java...
- 04-23-2009 #1
RHEL-Java Runtime path
I am having a hard time trying to find the Java Runtime client on my RHEL system. Any help? Preferably, the whole path, like, /usr/local/lib....java
Last edited by newbie56; 04-23-2009 at 08:29 PM. Reason: Spelling errors
- 04-24-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Look in /usr/java. All the installed versions are there. The 'default' entry is a link to the one currently being used by default (naturally). The 'latest' entry is a link to the last version installed. Note that you can have a number of versions installed, so applications that are dependent upon deprecated ones can still work.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 04-24-2009 #3Linux Enthusiast
- Join Date
- Aug 2006
- Location
- Portsmouth, UK
- Posts
- 539
The which command may also help you out:
Code:[user@host home]$ which java /usr/bin/java
RHCE #100-015-395
Please don't PM me with questions as no reply may offend, that's what the forums are for.
- 04-24-2009 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 05-06-2009 #5
No luck
I reinstalled java in the /usr/java directory like Sun requests. I have scoured in /usr/java/jre1.6.0_13 and I have no luck finding the jre program. I thought it was /usr/java/jre1.6.0_13/bin/java. I thought it was /usr/java/jre1.6.0_13/bin/jexec. No luck. Maybe it is the script that I'm pulling it from that has a problem. What do you think?
- 05-06-2009 #6
- 05-07-2009 #7
I was able to find java, but the script I am running is having file not found exception errors. At least, I found the Java runtime. Thanks, matonb and Rubberman.
- 05-08-2009 #8Just Joined!
- Join Date
- Dec 2008
- Posts
- 1
hey
just run these commanda:
# which java
/usr/bin/java
#java -version
just create a soft link to where java or jdk installed
#ln -s /opt/java/jdkXXX/bin/java /usr/bin/java
coooolllll .......


Reply With Quote
