Jump to content
pyth0n3

Install Java in Debian && Java Plug-In in Firefox

Recommended Posts

Posted


d8,
`8P

d88 d888b8b ?88 d8P d888b8b
?88 d8P' ?88 d88 d8P' d8P' ?88
88b 88b ,88b ?8b ,88' 88b ,88b
`88b `?88P'`88b `?888P' `?88P'`88b
)88
,88P
`?888P

Install Java 1.6 in Debian (i86) , enable firefox 3.6.x Java Plug-In

Step1: Add sid repository in /etc/apt/sources.list

##sid
# deb http://ftp.de.debian.org/debian/ sid main
# deb-src http://ftp.de.debian.org/debian/ sid main

Step2: Update and install Java (as root)

apt-get update

apt-get install sun-java6-jre sun-java6-bin

update-alternatives --auto java

java -version (should print the version available)

(Note: Now you should disable sid repository as they are not stable , an
update or some package install may broke your system )

Ok, also in the repository of Debian you will find sun-java6-plugin , but
you may not want to install that cause it will also install the iceweasel
(the default browser)
If you run firefox the latest version you could just link the
/usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so to
/usr/lib/mozilla/plugins (if that is the path where firefox will search
for installed plugins)

ln -s /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so
/usr/lib/mozilla/plugins/libjavaplugin.so

Open firefox && type about:plug-ins
It should print all the plug-ins installed
You can also test your java by at this URL
http://www.java.com/en/download/help/testvm.xml


Download:

wget http://sprunge.us/dRiZ -O inst_java_deb.txt

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.



×
×
  • Create New...