Debian Tutorials

Debian Tutorials


Step by step tutorials showing you how to install and configure various applications and services on Debian based Linux distros.

April 2018
M T W T F S S
« Mar    
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Categories


How to install Sun Java runtime (JRE)

Ástþór IPÁstþór IP

1. Add non-free packages to apt sources (pico /etc/apt/sources.list)

Add “non-free” behind “main” for all lines in the file. For example, change:

deb http://ftp.debian.org/debian/ squeeze main
deb-src http://ftp.debian.org/debian/ squeeze main

to

deb http://ftp.debian.org/debian/ squeeze main non-free
deb-src http://ftp.debian.org/debian/ squeeze main non-free

2. Update apt

apt-get update

3. Install Sun Java runtime environment (JRE)

apt-get install sun-java6-bin sun-java6-jre

Comments 0
There are currently no comments.