Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Install sun-java-jdk in Ubuntu 10.04

Answer:

To install the offical Sun (now Oracle) JDK in Ubuntu 10.04, you need to do the following in terminal.

1. Add the extra repository

# sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"

2. Update the local package index

# sudo apt-get update

3. Install the JDK and plugin

# sudo apt-get install sun-java6-jdk sun-java6-plugin

4. And finally, change you system to use the newly installed JDK.

# sudo update-java-alternatives -s java-6-sun

  1. Install Java Runtime environment under Ubuntu
  2. Changing the default Java environment in Ubuntu
  3. Install the Lucid Light themes (Radiance and Ambiance) in Ubuntu 9.10
  4. Install Google Chrome in Ubuntu
  5. Install 64-bit Flash plugin for 64-bit Ubuntu

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>