LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 07-16-2005, 05:52 AM   #1
Dakkar
Member
 
Registered: Dec 2003
Location: Turkey
Distribution: Suse
Posts: 89

Rep: Reputation: 15
how to update java


hi i installed suse 9.3 last week but suse has 1.4.0.2 jre version in itself so i want to install 1.5.0 i downloaded and installed new java but the system is using still old java version when i type java how can i change the old verison to new version thanks
 
Old 07-16-2005, 07:02 AM   #2
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
You know can backup the file /etc/profile.d/alljava.sh and change the settings in it to point to your jre, easiest way.
 
Old 07-16-2005, 09:16 AM   #3
Dakkar
Member
 
Registered: Dec 2003
Location: Turkey
Distribution: Suse
Posts: 89

Original Poster
Rep: Reputation: 15
how can i do that?
 
Old 07-16-2005, 09:40 AM   #4
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Just to check,if you have the full 9.3 SUSE, java 1.5 is on the install dvd which you can install through YAST rather than mess about with this, not sure if it's on the ftp download if that's what you've got.
 
Old 07-17-2005, 07:14 AM   #5
Dakkar
Member
 
Registered: Dec 2003
Location: Turkey
Distribution: Suse
Posts: 89

Original Poster
Rep: Reputation: 15
i looked at it but there is a lock icon near the jre 1.5.0 so i cannot be able to install how can i get rid of that lock icon
Thanks
 
Old 07-17-2005, 04:09 PM   #6
Dakkar
Member
 
Registered: Dec 2003
Location: Turkey
Distribution: Suse
Posts: 89

Original Poster
Rep: Reputation: 15
any idea?
 
Old 07-17-2005, 06:14 PM   #7
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 495

Rep: Reputation: 33
Launch YOU. Under Show Patch Category, click on the triangle and select "installable patches" from the drop down menu. From the list, choose the Java 2 Runtime Environment update. Check mark sun-1_5_0-sun and sun-1_5_0-sun-plugin. Then click accept.

HTH
 
Old 07-18-2005, 07:25 PM   #8
John_Emad
Member
 
Registered: Dec 2004
Posts: 196

Rep: Reputation: 30
you may use apt

then type apt-cache search java

then choose the package you want and achoose apt-get install packagename
 
Old 07-18-2005, 08:43 PM   #9
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
Quote:
Originally posted by Dakkar
i looked at it but there is a lock icon near the jre 1.5.0 so i cannot be able to install how can i get rid of that lock icon
Thanks
The lock icon indicates a permissions issue. File is probably owned by root.
 
  


Reply



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
Java update SuSE 10.0 atlaika Linux - Newbie 4 10-28-2005 10:27 AM
Breezy: How to update from java 1.4.2 to sun's 1.5? kenneho Ubuntu 2 10-16-2005 06:09 AM
redhat linux update databse's type and utility like windows update services kamii47 Linux - General 1 04-18-2005 05:50 AM
How to update Java? Micro420 Linux - Software 3 08-07-2004 11:15 AM
Update Red Hat 9 Java version! mike_tom Linux - Distributions 1 08-01-2003 09:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 10:18 AM.

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
Open Source Consulting | Domain Registration