Update Java Runtime Environment

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
morochos
Posts: 68
Joined: Wed 28 Aug 2013, 02:55

Update Java Runtime Environment

#1 Post by morochos »

No need to wait for pet or sfs files, do it yourself. It works for Precise puppy 5.7.1, not tested in other distros.

Supported browsers: Firefox, pale moon, seamonkey. Not tested in others.

Step by step for average users:
1) Remove previous version of JRE installed
2) Go to java.com and download the tar.gz file (not the rpm) according to your processor.
3) Extract the file completely in the same partition where your puppy file is, a jre folder will be created, You can copy this folder in /usr, but this will take more space of your saved puppy file. So, I prefer placing it out, like the portable apps.
4) Click in the created jre folder and go to lib/i386. There, look for lilnpjp2.so, maintain this window open.
5) Click on File icon on your desktop (the house), a new window will be opened, then click on the green arrow in the top. Now go to usr/lib/mozilla/plugins/
6) From the jre folder, made in step 4, click and displace the file lilnpjp2.so to usr/lib/mozilla/plugins/ A menu will be displayed. Click on "Link (relative)"
7) Done, open your browser and test

Note: To configure JRE, click on java/jre1.8.0_25/bin/Controlpanel
Last edited by morochos on Fri 20 May 2016, 15:52, edited 1 time in total.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#2 Post by Flash »

Seems good, but how do you do step one?

fuelish
Posts: 78
Joined: Fri 15 Mar 2013, 13:46

Re: Update Java Runtime Environment

#3 Post by fuelish »

morochos wrote:1) Remove previous version of JRE installed
Will this work How do I uninstall Java for Linux?

morochos
Posts: 68
Joined: Wed 28 Aug 2013, 02:55

#4 Post by morochos »

Step 1 is only for systems with previous versions installed. To check this, go to "Install" icon in desktop and run the Puppy package manager. There, in the lower module, look for installed software, in this case, JRE. Click on it to uninstall.

Check also Menu>Setup>SFS load on the fly. If JRE is there, unload.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#5 Post by Semme »

Morochos opening post essentially mirrors Oracle's instructions.

If installed, it's either in /opt or /usr on most nix systems:

Code: Select all

find / -iname java -print 2>/dev/null
Lose the symlink and Java directory to uninstall.
Attachments
java_detect.jpg
(40.38 KiB) Downloaded 666 times
java_verify.jpg
(16.25 KiB) Downloaded 655 times
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

Pelo

But how ininstall it ?

#6 Post by Pelo »

I Have some Puppies with Jre Installed yet (Pupos i.e diaboloq). I want ro install a recent version. But how ininstall it ?
I am on a precise Puppy now.
This topic encourage me. I come back and advise if succesfull.

Post Reply