Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-19-2005, 08:36 AM   #1
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, 08:59 AM   #2
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.

echo $PATH
and make sure the location of the newer java version comes before the location of the old version.
Old 06-19-2005, 02:22 PM   #3
Senior Member
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

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

Also also to try out: reading `smart questions'--



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 04:06 PM
using default applications from java? german Programming 2 06-21-2005 11:26 PM
Help:how to change the vesion information of glibc willy_young Programming 4 11-17-2004 07:29 PM
Default Java Plugin needed coopns Linux - Newbie 7 02-18-2004 09:22 AM
How to set Default Java VM/SDK in SuSE? shassouneh Linux - Software 10 09-23-2002 05:19 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:53 PM.

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