LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-19-2005, 09:36 AM   #1
sunilrai
LQ Newbie
 
Registered: Jun 2005
Posts: 2

Rep: Reputation: 0
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.
 
Old 06-19-2005, 09:59 AM   #2
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Rep: Reputation: 31
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.
 
Old 06-19-2005, 03:22 PM   #3
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing default font in Java mmarkvillanueva Linux - Software 2 07-28-2014 05:06 PM
using default applications from java? german Programming 2 06-22-2005 12:26 AM
Help:how to change the vesion information of glibc willy_young Programming 4 11-17-2004 08:29 PM
Default Java Plugin needed coopns Linux - Newbie 7 02-18-2004 10:22 AM
How to set Default Java VM/SDK in SuSE? shassouneh Linux - Software 10 09-23-2002 06:19 PM


All times are GMT -5. The time now is 04:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration