Jump to content

updating Sun java


Recommended Posts

I read yesterday that an important security flaw had been uncovered and fixed in the Sun java engine.

 

I'm running 1.4.2_04 and the current version on Sun's site in 1.4.2_06.

 

What is the proper procedure to upgrade? If I download the file from Sun and run it, will it uninstall the old version? Do I need to manually remove the old version? If so what's the proper way to do it.

Is it possible to get jva as an rpm instead so that I can pick up updates automatically when there are security issuees like this one?

 

Thanks

Link to comment
Share on other sites

You'll have to uninstall the previous version of Java. Also the link you're made to your browser have to be removed before the new install.

 

yuck! Oh well...

 

how do I uninstall? do I just remove the directory?

Also, since I'm upgrading from 1.4.2_04 to 1.4.2_06 it should all get installed in the jre1.4.2 (not sure it's the exact name but I would think it doesn't change) so I don;t think I have to worry about the links right?

Link to comment
Share on other sites

If I remember correct the Java folder is under /usr (eg: /usr/java).

To remove it:

 

use your favorite console.

 

cd /usr

su

<type password>

rm -r java

 

You also need to remove the symlinks to your browser.

Eg: If you installed the symlinks universal and if it's firefox.

 

In root

 

cd /usr/lib/mozilla-firefox/plugins

rm -r libjavaplugin_oji.so

 

Now you are ready to install the new version :)

 

Edit: I'm moving the thread to Command Shell etc. etc.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...