How to install Java plugin 1.7 in Debian Wheezy

Previous Java plug-in information under Google Chrome
Java(TM) - Version: 1.6.0_29 Download Critical Security Update
The next generation Java plug-in for Mozilla browsers.
Name: Java(TM) Plug-in 1.6.0_29
Description: The next generation Java plug-in for Mozilla browsers.
Version: 1.6.0_29
Location: /usr/lib/jvm/java-6-sun-

I have the following message on a website I go often. I have to press [Run this time] button to use the Java application. [Update plug-in] leads to dead end. Because the Java download site doesn’t provide instruction for Debian.
Java(TM) was blocked because it is out of date.
[Run this time] [ Update plug-in ]

I followed this instruction.

Download Java package right file in Chrome, i.e. jre-7u10-linux-x64.tar.gz.

Move to the Java home directory /usr/lib/jvm.

Extract the Java tarball.
$ sudo tar zxvf ~/Downloads/jre-7u10-linux-x64.tar.gz

Subdirectories in /usr/lib/jvm
jre1.7.0_10 directory is created.

java-1.6.0-openjdk-amd64 -> java-6-openjdk-amd64
drwxr-xr-x 7 root root 4096 Dec 16 19:12 java-6-openjdk-amd64
drwxr-xr-x 3 root root 4096 Aug 11 16:40 java-6-openjdk-common
lrwxrwxrwx 1 root root 19 Nov 20 2011 java-6-sun -> java-6-sun-
drwxr-xr-x 6 root root 4096 Sep 8 2011 java-6-sun-
drwxr-xr-x 6 root root 4096 Nov 20 2011 java-6-sun-
drwxr-xr-x 5 root root 4096 Aug 11 16:41 java-7-openjdk-amd64
drwxr-xr-x 6 500 500 4096 Nov 28 21:06 jre1.7.0_10

Make a script file in a directory. Assign new Java directory to JAVA_HOME environment variable. Assign Java plugin file path to the symbolic link line at end of the file.
$ more

# Sun Java 7 Update 10 and plugin for google chrome

mkdir $MOZILLA_HOME/plugins
ln -s $JAVA_HOME/lib/amd64/ $MOZILLA_HOME/plugins

Execute the script file either sh command or chmod +x and type the file name.
I ran ‘sh ~/bin/’

The instruction site will display the Java version in the box. Other sites that complain old plugin will provide Java application services.

About janpenguin

Email: k2.mountain [at] gmail [dot] com Every content on the blog is made by Free and Open Source Software in GNU/Linux.
This entry was posted in GNU/Linux and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s