LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 10-27-2005, 11:02 AM   #1
atlaika
Member
 
Registered: Oct 2005
Posts: 45

Rep: Reputation: 15
Java update SuSE 10.0


SuSE 10.0

I need to update java jre1.5.0_05.
Current version 1.4.2 installs with SuSE.
I removed java with YaST, but I only removed the “Java (TM) 2 Runtime Environment”, not sure if that is enough?

When I tried to install jre1.5.0_05. (jre-1_5_0_05-linux-i586-rpm.bin) it said that it was already installed. Just as it shows here.
http://www.java.com/en/download/help/5000010500.xml#rpm
So I ran “ls” and just as the picture it showed it as installed and it is present under “/usr/java/jre1.5.0_05”.

However it is not working.
When I run “java -version” it comes up with nothing and firefox crashes at the test at java site.

So I tried the following but that didn't work or I am doing it the wrong way.
http://www.linuxquestions.org/questi...nstall+azureus

I am a newbie and I think that I am missing something really basic. Could you please tell me what that might be.
Thank you.
 
Old 10-27-2005, 11:10 AM   #2
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
I seem to recall I had some similar "nonsense" when I was running SuSE 9.3 Pro. I just uninstalled everything that was listed in the YaST software manager, then followed those instructions.

From memory, that seemed to do the trick - Oh, but I was after the SDK, not the JRE (which comes in the SDK anyway). I don't know if that matters or not.

regards

John
 
Old 10-27-2005, 11:36 AM   #3
atlaika
Member
 
Registered: Oct 2005
Posts: 45

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by bigjohn
I seem to recall I had some similar "nonsense" when I was running SuSE 9.3 Pro. I just uninstalled everything that was listed in the YaST software manager, then followed those instructions.
Lots of stuff shows up when I search on java in YaST about 50 items or more.
Could you please either be specific on what needs to be deleted or how I should do a more accurate search with YaST?
Do I need to reinstall jre1.5.0_05 again?

edit
Removed all in YaST that seemed to have something to do with the “Runtime Environment”.
On reinstalled of “jre1.5.0_05” from the .rpm extracted from the .bin YaST said there was 14 conflicts. I let it remove all conflict files and it install “jre1.5.0_05” to “/usr/java/jre1.5.0_05”.

When I run “java -version” nothing comes up?

.....
Not sure what the hell I did but now it is working.
http://www.java.com/en/download/help/testvm.xml
Here it shows 1.5 and before it was 1.4 and told me old version.

But I did the above. Then I install the 1.4 from the install disc and 1.5 showed up with an “lock” in YaST again.
Makes no sence to me....but I removed it all all. Then installed “jre1.5.0_05”. Then installed the “Runtime Environment” 1_4_2 from disc and now it works? ohh well why not....

I am pretty sure the “jre1.5.0_05” installed to “/usr/java/jre1.5.0_05” the first time during installation of the OS but it sure didn't work.

Last edited by atlaika; 10-27-2005 at 12:42 PM.
 
Old 10-27-2005, 06:39 PM   #4
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
You'll have to forgive me, what you've posted was pretty much what I got as well. I've been wracking my brains to try and recall what I must have done to get it going.

But I'm still digging around to see if I posted anywhere what/how I achieved this.

I certainly had to do this as root
Code:
export JAVA_HOME=/usr/java/jre1.5.0_04
Obviously you'd have to make sure that that command has the numbers for the latest version that you're trying to install.

Plus, heres a link to what I was trying to do at the time (forget that I was trying to get "OpenLaszlo" running, and try the things that mention Java).

Otherwise, as I can't recall what else I might have done, you might look at the Novell/SuSE forum here at LQ and see if that throws anything up or maybe here as well.

I'm sorry, thats about the best I can come up with.

regards

John
 
Old 10-28-2005, 10:27 AM   #5
atlaika
Member
 
Registered: Oct 2005
Posts: 45

Original Poster
Rep: Reputation: 15
That sure looks like pretty much the same deal.
Thank you where much for posting it and for the links.
I still don't really get it but it nice to know that I am not crazy ;-)
 
  


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
Breezy: How to update from java 1.4.2 to sun's 1.5? kenneho Ubuntu 2 10-16-2005 06:09 AM
how to update java Dakkar SUSE / openSUSE 8 07-18-2005 08:43 PM
Suse 9.1: suse-build-key (cannot update packages) bodhiopolis Linux - Distributions 1 06-09-2005 03:22 PM
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 - Newbie

All times are GMT -5. The time now is 01:36 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