Open terminal
su , password: root
Make mozilla firefox plugins folder if it doesn't exist:
mkdir -p /usr/lib/mozilla/plugins
Make symlink from libnpjp2.so java plugin to /usr/lib/mozilla/plugins folder:
ln -s /usr/lib/java/jre1.7.0_04/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins
Close/open firefox
Test install here: http://www.java.com/en/download/testjava.jsp

How can I install Java JRE7 on Slitaz?
(19 posts) (7 voices)-
Posted 12 years ago #
-
That worked.
All I did wasOpen terminal
su , password: root
ln -s /usr/lib/java/jre1.7.0_04/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins
Close/open firefoxOddly, when clicking the test install link the first couple of times, the browser crashed, but thereafter it stopped crashing, and now says, "Your Java is working."
Posted 12 years ago # -
Now that Firefox has automatically updated itself, java no longer works in it. How can I link java to the updated browser?
Update: I just tested if Java worked in the Chrome browser I've previously installed, and it does, so problem solved there. However, I generally prefer to use Firefox because I find it works faster than Chrome in SliTaz.
Posted 12 years ago # -
You need to remove java6-jre
tazpkg remove java6-jre
Then
tazpkg get-install java6-jre
That is how I fixed my problem
which was the samePosted 12 years ago #
Reply
You must log in to post.