转自 http://www.cnblogs.com/jxgxy/archive/2010/10/22/1857976.html
As you known, Sun JDK
version 1.5 or 5 is deleted from Ubuntu 10.4 and 9.10 repositories and
the version 6 has been replaced.
The easiest way to install Sun JDK 5 version is add its repository
from Ubuntu 9.04 to the list of repositories in 9.10 and 10.04. For this
purpose, follow the steps.
1- Open /etc/apt/sources.list with a text editor like gedit:
sudo gedit /etc/apt/sources.list
2- Add the following lines to the end of the file then save it and
close:
## For sun-java5-jdk
deb http://ir.archive.ubuntu.com/ubuntu jaunty-updates main multiverse
3- Update the packages lists and install sun-java5-jdk:
sudo aptitude update
sudo aptitude install sun-java5-jdk
* Above method can be used for other applications.
Another way to install jdk 5 is download software package and its
dependencies frompackages.ubuntu.com
.
Good luck
分享到:
相关推荐
Ubuntu-10.04环境下安装 ns2 2.34
Installing STLinux on Ubuntu
面是我在Ubuntu6.06 LTS 下源码编译安装samba主要安装过程,本人第一次用Ubuntu,刚装上去时候,没有gcc编译环境。郁闷了半天。找出这一过程发了不少的时间。可能还有些不妥,不过我经过这样的安装达到了向windows共享...
Requirements For Installing Oracle10gR2 On RHEL 5&OEL 5 (x86_64)
Installing Oracle 10G On Linux
Time for action – installing Android SDK and NDK on Ubuntu Setting up the Eclipse development environment Time for action – installing Eclipse Emulating Android Time for action – creating an ...
This book is designed as an Ubuntu 15.04 server reference, covering the Ubuntu servers and their support applications. Server tools are covered as well as the underlying configuration files and system...
Installing Ubuntu—Getting started 11 Finishing Installation 16 2 The Ubuntu Desktop 19 Understanding the Ubuntu desktop 19 Unity 19 The Launcher 21 The Dash 21 Workspaces 24 Managing windows 24 Unity...
OpenERP Installing Ubuntu9.04
php5 Apache module to serve PHP 5.3 applications, while running PHP 5.2 applications using fastcgi module. Under Ubuntu 12.04 this can be achieved by installing PHP 5.3 from the repositories and ...
Installing Activ Test on Your PC
Oracle administration guide + Concepts Oracle + Installing Oracle Database 10 g on Sun Solaris 10 by Using RC
Designed for experienced IT professionals ready to advance their status, Exam Ref focuses on the critical thinking and decision making acumen needed for success at the MCSA level. Focus on the ...
Installing SQL Server 2008 on a Windows Server 2008 Cluster
Because this book takes you from the first steps of installing the operating system, through configuration, maintenance, and security, and on to topics such as networking, it provides a complete ...
The Ubuntu Server Guide contains information on how to install and configure various server applications on your Ubuntu system to fit your needs. It is a step-by-step, task-oriented guide for ...
Installing Oracle Database 11g on Linux
Installing RAC on AIX