Java 7 installation

OS: Debian Wheezy

Installation instruction is on which requires debian package building utilities.

Java 7 JDK file is jdk-7u45-linux-x64.tar.gz

Creating debian Java package
$ make-jpkg jdk-7u2-linux-x64.tar.gz

It showed bunch of warning messages during the package build but would generate a package file like this oracle-j2sdk1.7_1.7.0+update45_amd64.deb.
Package installation is followed by

$ sudo dpkg -i oracle-j2sdk1.7_1.7.0+update45_amd64.deb

java -version
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

Java plugin installation for Google Chrome (Version 30.0.1599.114)

The instruction I followed is here.

Make /opt/google/chrome/plugins directory if it doesn’t exist. Then create a symbolic link for the Java plugin file at /usr/lib/jvm/j2sdk1.7-oracle/jre/lib/amd64/

mkdir /opt/google/chrome/plugins
cd /opt/google/chrome/plugins
$ sudo ln -s /usr/lib/jvm/j2sdk1.7-oracle/jre/lib/amd64/

In Chrome typing “chrome://plugins/” in the address or search bar will show the Java plugin among other plugins.

Java(TM) - Version: 10.45.2
Next Generation Java Plug-in 10.45.2 for Mozilla browsers
Name: Java(TM) Plug-in 10.45.2
Description: Next Generation Java Plug-in 10.45.2 for Mozilla browsers
Version: 10.45.2
Location: /usr/lib/jvm/j2sdk1.7-oracle/jre/lib/amd64/

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