ENJOY THE SILENCE
Marigan's Weblog
All | General | Java | Music | NetBeans | Unix
« Sun's web in retrosp... | Main | Process Killer Plugi... »
20050821 Sunday August 21, 2005
Installation of the JDK on Debian Linux
Here is the quick guide how to do it. Of course you are able to run JDK installer and by the normal way extract the content and copy JDK somewhere but ! What to do if you want to have the JDK as system default and you do not want to create symbolic links manually ? For those people is this guide ;)

You have to do this:
1. Download the JDK which you want from http://java.sun.com
2. You need these packages: java-package, fakeroot (install them -> apt-get install java-package fakeroot
3. Now we make a debian package from the JDK installation package by running this -> fakeroot make-jpkg jdk-1_5_0_04-linux-i586.bin (of cource you are able to do this with any jdk package)
4. Now we install the created debian package -> dpkg -i sun-j2re1.5_1.5.0+update04_i386.deb (you have to be a root to do this)
5. Now you have your choosen jdk installed as a system default. Relogin now.
6. Check the functionality -> java -version
Actually this procedure is able to apply also on the JRE ;))

Aug 21 2005, 08:44:47 PM CEST Permalink Comments [7]

Trackback URL: http://blogs.sun.com/marigan/entry/installation_of_the_jdk_on
Comments:

great, I'try this on my linux emulation port and it works fine.

Posted by 82.235.114.214 on August 21, 2005 at 09:00 PM CEST #

well.. what about the debain guys hostility towards Java?

Posted by aaa on August 22, 2005 at 04:07 AM CEST #

There is any hostility ?? I haven't heard about any yet. Actually do you know the reasons of the hostility ?

Posted by marigan on August 22, 2005 at 09:48 PM CEST #

Does anyone else get this result: glaptop:/home/tony# apt-get install java-package fakeroot Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package java-package

Posted by George on January 12, 2006 at 06:22 AM CET #

yeap...you have to switch to the contrib i guess ;) check this package on packages.debian.org

Posted by marigan on January 16, 2006 at 11:42 PM CET #

cum

Posted by www.hqpicture.com on March 09, 2007 at 05:43 PM CET #

It was a very nice idea! Just wanna say thank you for the information you have shared. Just continue writing this kind of post. I will be your loyal reader. Thanks again.

Posted by links of london on October 15, 2009 at 02:36 AM CEST #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed