Skip to main content

How to install eclipse tar.gz file in ubuntu 12.04

eclipse-SDK-3.7-linux-gtk-x86_64.tar.gz  file can be installed in ubuntu 12.04  like this 


1.dowload latest version of eclipse from here 

2.extract the eclipse-SDK-3.7-linux-gtk-x86_64.tar.gz file

3.move extracted file to /opt/  directory
     mv eclipse /opt/
     sudo chown -R root:root eclipse
     sudo chmod -R +r eclipse
4.create eclipse exectable in your path 

   sudo touch /usr/bin/eclipse
   sudo chmod 755 /usr/bin/eclipse
   sudo nano /usr/bin/eclipse

5.copy this into nano 
 

  #!/bin/sh
  #export MOZILLA_FIVE_HOME="/usr/lib/mozilla/"
  export ECLIPSE_HOME="/opt/eclipse"

   $ECLIPSE_HOME/eclipse $*

6.save file using ctrl+o  exit with ctrl+x

7.create gnome menu item 
    sudo nano /usr/share/applications/eclipse.desktop

8.copy this into nano 
      [Desktop Entry]
   Encoding=UTF-8
   Name=Eclipse
   Comment=Eclipse IDE
   Exec=eclipse
   Icon=/opt/eclipse/icon.xpm
   Terminal=false
   Type=Application
   Categories=GNOME;Application;Development;
   StartupNotify=true

9.save and exit nano (ctrl+o and ctrl+x)

10.launch eclipse
     
    /opt/eclipse/eclipse -clean &   
  





Comments

  1. can you please mail me the zip file of phone contacts project?
    my email id is mpe797@gmail.com and how can i add more columns to your database? please reply soon...

    ReplyDelete

Post a Comment

Popular posts

Android Sqlite and ListView Example

This is simple application which insert data into Sqlite database --and shows the data  from the database in a ListView ListView is not used in android Anymore . We use RecyclerView and CardView   in Android RecyclerView Demo is available on the following link http://androidtuts4u.blogspot.in/2017/04/android-recyclerview-example.html RecyclerView with CardView Demo is available on the following link http://androidtuts4u.blogspot.in/2017/09/android-card-view-example.html This  is the first Activity of application which shows data from database in listview. Register here buton will start a Registration Activity. Submit button will add data to database and show it in the ListView of MainActivity. Update can be performed by clicking ListView items.     you can download the source code of this project from  google drive   https://drive.google.com/folderview?id=0BySLpWhqmbbdS0dtT1R2TXdBWEE&usp=sharing click on the abov...

Enabling Sign-in APi in Google Developer console

We need to enable Sign-in Api for our application in google developers console to use google sign-in  in our application. 1 . first we need to create a project in google developers console     visit google developers  console        https://console.developers.google.com/project 2 .  Click on create project button you will see the below screen     3 .  Enter project name and click CREATE . Then we are directed to project home page  which will look like this 4 .  Next we need to add Google API to our project. click on library on left menu and search for google api 5 .  Configure  OAuth consent screen , click on 'OAuth consent screen '  6  .  Enter Application name and email id everything else is optional  and click save   7  . Configure Credentials        Google uses this to ensure that your application is not fake applicatio...

Simple Calculator With ViewModel and LIveData

This is a simple calculator with basic mathematical operations. You can download full source code of this project from Github https://github.com/arunkfedex/SimpleCalculator We are using ViewModel and LiveData so we need to add those dependencies in build.gradle file. build.gradle plugins { id 'com.android.application' id 'kotlin-android' } android { compileSdk 30 defaultConfig { applicationId "com.arun.androidtutsforu.simplecalculator" minSdk 21 targetSdk 30 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 ta...