Changes between Initial Version and Version 1 of GIS/InstallationGuidelines/Linux/Java/Debian6


Ignore:
Timestamp:
06/13/16 13:26:31 (8 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GIS/InstallationGuidelines/Linux/Java/Debian6

    v1 v1  
     1== Installing Java for Debian 6 Squeeze ==
     2
     3{{{
     4vim /etc/apt/sources.list
     5# for sun-java packages in unstable
     6deb http://ftp.debian.org/debian/ unstable non-free
     7deb-src http://ftp.debian.org/debian/ unstable non-free
     8
     9apt-get update
     10apt-get install sun-java6-jdk
     11vim /etc/profile
     12JAVA_HOME=/usr/lib/jvm/java-6-sun
     13export JAVA_HOME
     14}}}
     15
     16The Sun installer will present a license in a curses form.  Depending on your terminal emulator, arrow keys may not work for navigation.  If not, try !^f and !^b to navigate to the <ok>, and enter to select.  Then you'll be asked to accept (or not) the license -- again use !^f or !^b to move to <yes> and hit enter.
     17
     18or:
     19 * [http://java.sun.com/javase/downloads/widget/jdk6.jsp Download the JDK] & install it:
     20{{{
     21cd /usr/local
     22sh ~/jdk-6u21-linux-i586.bin
     23ln -sf /usr/local/jdk1.6.0_21 /usr/local/java
     24vim /etc/profile
     25JAVA_HOME=/usr/local/java
     26export JAVA_HOME
     27}}}