Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Difference in Java and JRE

Status
Not open for further replies.

wstran

MIS
Jul 18, 2002
46
US
Hello,

In my RHEL4 box, when I run the command "java -version" I got the answer:
Java version "1.4.2"
gcj (GCC) 3.4.6 20060404 (RedHat 3.4.6-8)

but when I updated the latest jre into the box and run the command "rpm -qa |grep jre" I got:
jre-1.5.0_13-fcs

My problem is that I cannot run my application that requires jre-1.5.0_13-fcs even though it was installed. Please advise or show me how to bring the two versions to be the same, thanks very much.
 
java means the software as a whole. JRE means Java runtime Environment, versus other distros JDK which is Java Developer Kit.

Ok, so you say you have the right version installed, but your script says you don't. So probably your script doesn't know where your most current java install is located. That would be my guess. Maybe the java location is hard coded into the script?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top