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 List View using Custom Adapter and SQLite

following is a simple applicaton to create ListView using  Custom adapter.screenshot of the application  is like this . 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 Example is available on the following link http://androidtuts4u.blogspot.in/2017/09/android-card-view-example.html The ListView below the submit button is populated using Custom Adapter.Data is stored and retrieved using SQLite databsase. you can download the source code of this project from  google drive   https://drive.google.com/folderview?id=0BySLpWhqmbbdUXE5aTNhazludjQ&usp=sharing click on the above link ->sign into  your  google account ->add this to your google drive -> open it in google drive and download it. To create a simple application like this 1.  Create a class which extends  

Simple Calculator in Android

You can view new updated simple calculator with ViemModel and LiveData in my new blog    https://androidtuts4u.blogspot.com/2021/10/simple-calculator-with-viewmodel-and.html To create a calculator first  we need to create the layout of the calculator. Layout  is created  using XML file given below <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent" >  <EditText     android:id="@+id/result_id"       android:layout_width="fill_parent"     android:layout_height="120dp"   />  <Button    android:id="@+id/Btn7_id"      android:layout_width="70dp"    android:layout_height="60dp"    android:layout_below="@id/result_id"    android:text="7"    android:onClick="btn7Clicked"