Skip to main content

How to install Eclipse Kepler in Ubuntu 14.04 LTS?


Installing Eclipse Kepler IDE in Ubuntu 14.04 is simple. It is not hard as it looks like. Now I am going to tell you an easy way of doing it step by step.

Step 1: First make sure that you have Java installed in your computer.

For this, just open the terminal and type 
java -version 

If you have Java installed, you will see this.






If you don't see something similar to this, you will have to install Java first before using Eclipse in your machine.

For this purpose, you can follow the following steps.

1. In Ubuntu, you have the Ubuntu software center from where  you can install OpenJDK
(Open Java Development Kit) which is a free and open source implementation of the Java Platform, Standard Edition (Java SE).



2.  Click on the option to install OpenJDK Java 7 Runtime for this as shown in the figure above.

3. Now Java will get installed in your computer. You can verify it by typing java -version command as above in the terminal.

Step 2: Now download the Eclipse Kepler SR2 Package required.

Click on this link https://eclipse.org/downloads/packages/release/Kepler/SR2. This will take you to the Eclipse website which contains the Eclipse Kepler packages for downloading. Select the Eclipse Standard 4.3.2 option. Select 32-bit or the 64-bit option in front of Linux, depending on your computer. Now the eclipse package will get downloaded.

Step 3: Now you can install eclipse in your computer.

First yo need to extract the downloaded package of Eclipse to /opt directory so that you can access eclipse from anywhere using the following command.

cd /opt/ && sudo tar -zxvf ~/Downloads/eclipse-*.tar.gz
 
 From ~/Downloads/eclipse-*.tar.gz what I meant was the path to what you have downloaded from the website in the previous step. You can replace the path depending on where you have it. Otherwise this would be the default. Don't worry. Just type the given command as it is, in the terminal.

Step 4: It will be easier for you if a launcher shortcut is created.
 
Now type this command in the terminal. 

sudo gedit /usr/share/applications/eclipse.desktop

This will launch the text editor. Now you can copy and paste what is given below into it.

[Desktop Entry]
Name=Eclipse 4
Type=Application
Exec=/opt/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=Eclipse

You don't have to change anything in it. Now save the document. Now you are actually done. :)

Step 5: Launch eclipse

Type the word Eclipse in the search bar and click on the Eclipse icon that you can see as in the figure below. This will now launch Eclipse. You are finally done. Cheer up. :)



Thank you!






Comments

  1. Nice article Tharika,
    Just mentioning I think it's better to install oracle Java than Openjdk. I faced problems while using the OpenJDK.

    ReplyDelete
    Replies
    1. Thank you Menuka. Yes that is true that you might face some problems when using openJDK because you can't use it for everything. I will soon post another blog article on how to install Oracle JDK in Ubuntu.

      Delete
  2. It says An error occured see log file in .eclipse. How to solve it?

    ReplyDelete
    Replies
    1. An error has occurred. See the log file
      /home/shraddha/.eclipse/org.eclipse.platform_4.3.2_1473617060_linux_gtk_x86_64/configuration/1598933467787.log.

      Delete

Post a Comment

Popular posts from this blog

How to import the Public Certificate of one WSO2 product to the trust store of another?

To demonstrate this point, I will use the 2 products WSO2 API Manager 2.1.0 (referred as APIM from here onwards) and WSO2 Enterprise Integrator 6.1.1 (referred as EI from here onwards). When using EI as the Business Process Server during configuration of Workflows in APIM, one step to perform is to import the public certificate of EI to the truststore of APIM [1]. So now let's see how this can be done. Step 1: Go to <EI_HOME>/repository/resources/security/ folder and execute the following keytool command. This command is used to export the public certificate of EI as a certificate file called wso2carbon.cer. Since the default keystore in EI is wso2carbon.jks, we have specified it as the keystore and the default alias is wso2carbon. Provide wso2carbon as the keystore password when prompted as it is the default password. After executing the above command from within the security folder in EI, you will see that a file with the name of wso2carbon.cer is created...

How to connect my database instance with elastic beanstalk instance in AWS?

If you have deployed your web application in Elastic Beanstalk in AWS and now you need to connect a database to this instance, and your database is actually residing in a different instance, how can you actually connect them? It's easy with Elastic Beanstalk. I will explain an example scenario that I used for connecting my elastic beanstalk web application with another instance containing my MongoDB database. By looking at this, you can customize as per your need. Don't worry. This is easy. :) The only things you need here are the details about the 1. Database name that you need to connect to. Ex:- "myDB" 2. Port at which the database instance is listening. EX:- In the case of MongoDB, the listening port is 27017 3. Host name of your database instance. EX:- Like localhost, in this case, it will be the Public DNS of your database instance 4. The password of your database if exists. First these details need to be set as environment variables in Elastic Be...