Update Java Runtime Environment - jre

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
lehnhart
Posts: 1
Joined: 2. May 2011, 20:33

Update Java Runtime Environment - jre

Post by lehnhart »

Hello,

I'm new Linux user, and I would like to know how to update default version of JRE (jre-6u20) to jre-6u25 version at Salix 13.1?

Thanks!
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Update Java Runtime Environment - jre

Post by mimosa »

It's probably not in the repos, but I just checked and it is for 13.37, which I imagine is very close to being released. Salix (Slackware) often doesn't have the latest version of things until they are more stable. Alternatively, you may be able to get it on src. You say you're new to Linux, in which case your best bet may be to wait for the new release. Not that it will be relevant to your Java issue, but 13.37 has Sourcery, a graphical front end to src, giving easier access to a wider range of packages.

I hope you're enjoying Salix!
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: Update Java Runtime Environment - jre

Post by JRD »

I'm pretty sure you can use the jre from oracle directly or use the 13.37 package in your 13.1 box.
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Update Java Runtime Environment - jre

Post by mimosa »

I'm not sure myself how to install a 13.37 package in 13.1, and as lehnhart says he is new to Linux, maybe he is not either. Gslapt, naturally, shows the package for 13.1 (which is already installed). Installing the package from Oracle, at a guess, would simply be a matter of downloading it and then, as root, doing

Code: Select all

#spkg -i  /path/to/[the name of the file]
in a terminal.

but then you'd need to blacklist it in gslapt so that the system didn't revert to the original version on the next update:

Edit/Preferences/Excludes/Add ^jre

Lehnhart, please do ask for clarification if any of this doesn't make sense or doesn't work.
Post Reply