Installing Java on Linux Debian sarge / etch / Lenny / sid
Azureus requirements to install Linux in Debian Sarge / Etch / Lenny
There are many applications for Linux (OpenOffice, Azureus) which require the driver of the Java Virtual Machine in order to run. Unfortunately, according to the philosophy of GNU, Debian can not contain within their official software package that is not free. Therefore in this article explains how to install Sun's Java on a Debian or something similar.
First of all we must go to the website of SUN and download the Java we need, find the link J2EE 1.4 SDK, to start the download verify that the file name is jdk-1_5_0_06-linux-i586.bin or similar (and more recent).
The next step is to install the java-package, which helps us to create the deb package of j2sdk, as root type:
Devil: ~ # apt-get install java-package Then change the permissions for the *. bin Java that down as follows:
Devil: ~ # chmod a + x jdk-1_5_0_06-linux-i586.bin Now as a normal user, we created the package for Debian with the following command;
Devil: ~ # fakeroot make-jpkg jdk-1_5_0_06-linux-i586.bin And then, as root, we installed the package:
Devil: ~ # dpkg-i sun-j2sdk1.5_1.5.0 + update06_i386.deb To finish the set JDK as the default Virtual Machine;
Devil: ~ # update-alternatives - config java There are 4 alternatives which provide java.
Alternative Selection
----------------
1 / usr/bin/gij-wrapper-4.0
2 / etc / alternatives / kaffe-system / bin / java
+ 3 / usr / lib / JVM / java-gcj / bin / java
* 4 / usr/lib/j2sdk1.5-sun/bin/java
Press enter to keep the default [*], or type selection number:
As may have the option to account correctly highlighted, and this is all because we can install and run Azureus (which is which my usage Java) and to compile our own code done in Java.
.. comments welcome ... until the next.
Popularity: 1% [?]
Trackback URI | Comments RSS






