LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Why my default java vesion is not upgraded? (https://www.linuxquestions.org/questions/linux-newbie-8/why-my-default-java-vesion-is-not-upgraded-335121/)

sunilrai 06-19-2005 09:36 AM

Why my default java vesion is not upgraded?
 
Hi friends,
I installed jsdk1.4.1.07 package on Red Hat 9,but on typing java -version I am getting the older jsdk1.3 as version which is inbuilt in Red Hat 9.I cant understand why.Help me.

merchtemeagle 06-19-2005 09:59 AM

Probably because the java binary of the older version comes first in your $PATH variable.

Do:
Code:

echo $PATH
and make sure the location of the newer java version comes before the location of the old version.

jonaskoelker 06-19-2005 03:22 PM

also to try out: which, whereis and locate (all with `java' as an argument).

Also also to try out: reading `smart questions'--
http://www.catb.org/~esr/faqs/smart-questions.html

--Jonas


All times are GMT -5. The time now is 01:22 AM.