HOWTO install Java the hard way

How to do things, solutions, recipes, tutorials
Message
Author
moncha
Posts: 24
Joined: Fri 14 Sep 2007, 16:06

#21 Post by moncha »

The file on Sun's site changed. I had to modify the code from:

Code: Select all

ln -s /usr/java/jre1.6.0_11/plugin/i386/ns7/libjavaplugin_oji.so libjavaplugin_oji.so 
to:

Code: Select all

ln -s /usr/java/jre1.6.0_12/plugin/i386/ns7/libjavaplugin_oji.so libjavaplugin_oji.so

moncha
Posts: 24
Joined: Fri 14 Sep 2007, 16:06

#22 Post by moncha »

For Firefox 3.03, after executing the installer, the code I used was:

Code: Select all

cd /usr/lib/firefox/plugins 
ln -s /usr/java/jre1.6.0_12/plugin/i386/ns7/libjavaplugin_oji.so libjavaplugin_oji.so 
Then I enabled Java in the Firefox Toolbar: Edit>Preferences>Content.

darwinev0lved
Posts: 83
Joined: Tue 29 Jul 2008, 12:19

firefox 3.6 - needs different symlink

#23 Post by darwinev0lved »

OK this is more of an FYI for me - just so I've got it written down somewhere.

/opt/java/jre1.6.0_20/lib/i386/libnpjp2.so

is the file that needs symlinking to

/usr/lib/mozilla/plugins/

nickdobrinich
Posts: 77
Joined: Fri 06 Apr 2007, 03:29
Location: Cleveland OH USA

Java on Firefox 3.6.3

#24 Post by nickdobrinich »

Even Sun's Java site was unaware of the correct linking.
I found that (2) symlinks into Firefox plugins are now necessary.

Make symbolic links into /lib/firefox/plugins from:
/usr/java/jre1.6.0_20/plugin/i386/ns7/libjavaplugin_oji.so
AND
/usr/java/jre1.6.0_20/lib/i386/libnpjp2.so

Check that the Java plugin loaded in Firefox at: about:plugins

User avatar
lisek
Posts: 80
Joined: Thu 14 Feb 2008, 09:05
Location: PL

#25 Post by lisek »

For FireFox:
Make symbolic links into /lib/firefox/plugins from:
/usr/java/jre1.6.0_20/plugin/i386/ns7/libjavaplugin_oji.so
AND
/usr/java/jre1.6.0_20/lib/i386/libnpjp2.so
that's right.
small correction: "Make symbolic links into usr/lib/firefox/plugins...."

postfs1

#26 Post by postfs1 »

To reedit up to date.
Last edited by postfs1 on Sun 27 Mar 2016, 23:06, edited 4 times in total.

elpablo243
Posts: 3
Joined: Sat 20 Aug 2011, 18:38

Java Installation Error

#27 Post by elpablo243 »

I followed ROX back through /usr/local/bin/jre1.6.0_02/plugin/i386/ns7/libjavaplugin_oji.so and manually changed the link to /usr/lib/mozilla/plugins/libjavaplugins_oji.so where the faulty symbolic link was. this changed the icon to look like the others so i assume its working now, but when i asked java if it was installed it still said "error." the run action for this newly changed symbolic link is "$@" and i dont know if that is how it should be, its just what was made.

help!

elpablo243
Posts: 3
Joined: Sat 20 Aug 2011, 18:38

Java Installation Error

#28 Post by elpablo243 »

In the SeaMonkey browser i clicked help>about plugins and it lists "Java(TM) Plug-in 1.6.0_26-b03" at the very top, and it says it is completely enabled. however the Java website still claims that java is not working properly, and the site that i need java for is not loading, even though the bar at the bottom says "done"

why?!

thank you

User avatar
banger0250
Posts: 44
Joined: Thu 12 Aug 2010, 20:23
Location: Rothwell,Brisbane,Qld,AU

firefox java manually

#29 Post by banger0250 »

Go here and get the linux self extracting binary. And follow the instructions to install and run the self extractor.

http://www.java.com/en/download/help/linux_install.xml

Ok firsly locate your firefox/plugins DIR, and the java lib directory, my java was in /usr/java/jre1.6.0_29/lib/i386/.


if u are upgrading java remove the old symbolic link first.
To remove old symbolic link:
type cd <Firefox installation directory>/plugins
rm libjavaplugin_oji.so


Then the most important part is linking the java executable to the firefox plugin directory. My plugins DIR is at /usr/lib/firefox/plugins/ . You may have to google it or search for the directory if u installed firefox a different way. Just open up two instances of ROXfiler drag across the file to link and select symlink in RoXfiler.
Taking pup for a walk

User avatar
banger0250
Posts: 44
Joined: Thu 12 Aug 2010, 20:23
Location: Rothwell,Brisbane,Qld,AU

#30 Post by banger0250 »

I installed puppy with the pre-installed seamonkey and still found linking the same file to the mozilla plugins folder worked.
RECAP:
ln -s /usr/bin/jre1.6.0-29/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/

CORRECT ME IF THATS WRONG
Taking pup for a walk

AlkiDweller
Posts: 1
Joined: Fri 16 Mar 2012, 17:40

Now ain't that a fine how do you do?

#31 Post by AlkiDweller »

Brand new to linux, as of yesterday. Installation of Racy was a snap. Just trying to get some extended life out of an old Fujitsu laptop so someone at work can take it home and access work stuff, and that requires JRE. Running XP on that thing is painful.

First set of instructions didn't work and the second set of instructions hosed Seamonkey. No web access to anything. "Address Not Found" for everything. IP, DNS and DHCP setting are all accurate.

Installing Racy to the hard disk took all of about 15 minutes and at this point it looks like that would be the quickest option just to get Seamonkey back.

User avatar
Monsie
Posts: 631
Joined: Thu 01 Dec 2011, 07:37
Location: Kamloops BC Canada

HOWTO install Java the hard way

#32 Post by Monsie »

Hi AlkiDweller,

This thread might still be useful, but it is rather out of date now.

There are currently two maintainers of Java Packages for Puppy that I know of: shinobar and TheAsterisk! Probably the easiest way for you to get Java runtime installed is to visit this thread instead and download the Pet package put together by TheAsterisk! You'll see the .pet file in the first post.
Once downloaded, locate the Pet package, click on it, and the installation should go smoothly... after this, you should be good to go...

Monsie

P.S. Welcome to Puppy Linux Discussion Forum :)
My [u]username[/u] is pronounced: "mun-see". Derived from my surname, it was my nickname throughout high school.

Post Reply