Weblog entry #6 for pedxing

Java on Debian
Posted by pedxing on Sun 26 Jun 2005 at 15:19
Tags: none.
That didn't last long. I suppose that's what I get for relying on 3rd party apt-sources.

Here is the "proper" way to install the Java plugin on a debian system:

First, make sure you have gcc
`apt-get install gcc`

Download the j2re package from Sun

Grab the tools for building a Java .deb:
`apt-get install fakeroot java-package`

Then, as a non-root user, run:
`fakeroot make-jpkg j2re-1_4_2_08-linux-i586.bin`
substituting your version of the .bin file as required.
You will be asked a few straighforward questions, and required to accept the Sun license agreement.

Now, switch back to root, and install the newly created .deb file:
`dpkg -i sun-j2re1.4_1.4.2+08_i386.deb`
Comments

 

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search