Welcome to 'Home of Gundestrup'
java install debian
- Details
- Parent Category: Computer
- Published on Wednesday, 16 November 2005 00:00
- Written by Svend Gundestrup
As root: apt-get update
As root: apt-get install fakeroot java-package gcc
Download the latest .bin file form:
http://java.sun.com/j2se/1.4.2/download.html
or if there is a newer, then ude that file.
As non root: fakeroot make-jpkg jdk-1_5_0_02-linux-i586.bin
pls note, that the best ting is to copy the .bin file to your users home dir.
important to run as fakeroot, since the process might be desructive to your /ect
As root: dpkg -i sun-j2sdk1.5_1.5.0+update02_i386.deb
Xfree86 for the graphic operations
Add lines to /etc/profile
JAVA_HOME="/usr/lib/java"
export JAVA_HOME
-> This was created by Helge Tesgaard