Monday, August 23, 2010

Install Sun Java 6 into MySQL

1. vi /etc/apt/sources.list
add the following two lines into the end of the file.

deb http://security.ubuntu.com/ubuntu hardy-security main multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security main multiverse

2. sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk

No comments: