0% found this document useful (0 votes)
35 views

Java and Eclipse Installation Guides

Java and Eclipse Installation Guides

Uploaded by

Girish Shet
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

Java and Eclipse Installation Guides

Java and Eclipse Installation Guides

Uploaded by

Girish Shet
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Java Essentials

Java and Eclipse


Installation
Installation Guide on Ubuntu

© 2014 Brain4ce Education Solutions Pvt. Ltd.


Java and Eclipse Installation

Java and Eclipse Installation


Installation Guide

Table of Contents
Open terminal in Ubuntu ........................................................................................................................ 2
Installing Eclipse ...................................................................................................................................... 3

© 2014 Brain4ce Education Solutions Pvt. Ltd Page 1


Java and Eclipse Installation

Open terminal in Ubuntu

Type the below command


Command: sudo apt-get install openjdk-6-jre

It will ask for accepting licenses and space used in your system click Y to continue.

To Check the version of Java Installed on Ubuntu use the command “Java –version”.

Once java installed successfully we need to set the path of java in .bashrc file.
Command to edit .bashrc file is gedit .bashrc then enter.

Once its opened Add the below lines at the end.


export JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-i386
export PATH=$PATH:$JAVA_HOME/bin

© 2014 Brain4ce Education Solutions Pvt. Ltd Page 2


Java and Eclipse Installation

Close the window and open new terminal


Enter the below command to check whether the path is set correct or not.
Command: echo $JAVA_HOME

Congratulations! Now Java in your ubuntu system configured successfully and now you
can run your Java Programs.

Installing Eclipse

Go to http://www.eclipse.org/downloads

Choose your OS and download.

© 2014 Brain4ce Education Solutions Pvt. Ltd Page 3


Java and Eclipse Installation

© 2014 Brain4ce Education Solutions Pvt. Ltd Page 4

You might also like