java for chrome in Debian squeeze

This HOWTO shows how to get Java Runtime running under Google Chrome

1. Download Java Runtime from http://www.java.com
2. Make and opt/ directory in home
mkdir ~/opt

3. Move the Java .bin file to ~/opt/
chmod +x jre-6u18-linux-x64.bin
./jre-6u18-linux-x64.bin
cd ~/opt/jre1.6.0_18/bin/
ControlPanel

Select the Java Tab
Click View…
Click Find…
Click Next…
Select ~/opt/jre1.6.0_18/
Click Next…
Click Finsh…
deselect the others JREs
Click OK…
Click Apply…
Click OK …
4. As root
mkdir /opt/google/chrome/plugins
cd /opt/google/chrome/plugins
ln -s ~/opt/jre1.6.0_18/lib/amd64/libnpjp2.so

5. Run Google Chrome with plugins enabled
google-chrome --enable-plugins %U

Det här inlägget postades i Okategoriserade. Bokmärk permalänken.

Lämna ett svar

E-postadressen publiceras inte. Obligatoriska fält är märkta *