formats

Install Oracle (Sun) Java in Debian or LMDE

Published on June 18, 2012, by + in linux.



The easiest way to install the latest java is with the excellent repository found on this page:

http://www.duinsoft.nl/packages.php?t=en


The manual installation works for a one time install, however I suggest using the repository method. This also installs the browser plugin for Firefox / Iceweasel.



Here is how to use the repository!



1. Create the following file:

$ sudo nano /etc/apt/sources.list.d/duinsoft.list



2. Put in the following then Control+X to save:

deb http://www.duinsoft.nl/pkg debs all



3. Import the GPG key:

$ sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 5CB26B26



4. Refresh repositories:

$ sudo apt-get update



5. Install java

$ sudo apt-get install update-sun-jre


Done!

$ java -version
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)




2 Responses

  1. Thomas Krebs

    Thanks a lot!! Works like a charm.

  2. walrus

    Thanks a lot!! Works like a charm!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Home linux Install Oracle (Sun) Java in Debian or LMDE