Sunday, December 21, 2008

Installing Java Runtime (JRE) and Java Development Kit (JDK) in Ubuntu Linux

This post is a quick "how to" on installing Java in your UBuntu installation. My UBuntu installation is as a virtual machine, using VMWare. Please refer to my previous BLOG on how to set this up.

We will be installing JRE and JDK using apt-get. For this, open a terminal by selecting Applications--> Accessories --> Terminal.

Installing the Java Run Time (JRE)
To install JRE, type in the following command in terminal window
$ sudo apt-get install sun-java6-jre

Installing Java Development Kit (JDK)
To install JDK, type the following in terminal window
$ sudo apt-get install sun-java6-jdk



No comments: