Install Open Java on Debian

1. Setup Debian 6 (squeeze) with Minimal features

2. update:  nano  /etc/apt/sources.list

deb http://ftp.debian.org/debian/ squeeze  main
deb http://ftp.de.debian.org/debian sid main

3. If you have proxy:  export http_proxy=http://172.16.200.1:3128/

4. apt-get update

5. now follow the bellow:

java -version   (to test is Java installed?)

Using Java in Debian

To install the default JRE (Java Runtime Environment) on your system, run:

apt-get install default-jre

To install the default JDK (Java Development Kit) on your system, run:

apt-get install default-jdk
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s