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

Jetpack Compose with remember and mutableStateOf

  Jetpack Compose is a modern declarative UI Toolkit . In jetpack's declarative approach widgets are stateless and does not expose getter or setter function . So we cannot update UI with button.setText(String) or img.setImageBitmap()....  In Compose we build UI by defining set of Composable function. Composable function take in data and emit UI elements. So in Compose  only way to  update the UI is by calling the same Composable function with new Arguments. This Argument represents UI State. State in an app is any value that changes over time , this includes simple class variable to Room Database.  Any time a State is updated we need to call the Composable with new State to update the UI. This is called ReComposition .  This Demo Jetpack Compose app will help you understand the basics of Jetpack Compose. Screenshots of this App   This is our MainActivity package com.arun.androidtutsforu.democompose import android.os.Bundle import androidx.activit...

Controlling Back button Behavior in Fragment-- kotlin

when user navigates in an application android maintains back stack of destinations . This allows android to go back to previous destination when user clicks back button . some  times we  need to implement our own back button behavior  for best user experience . For example  if we are in a timer based quiz  application . when the user clicks on the back button if we go back to the previous destination without stopping  the counter , it will crash  the application . So first we need to know whether the  user  pressed the back button accidentally or not by  using a dialogue box . If the user want to go back to previous destination  we need to stop the counter and  then go back to the previous destination. We can control the back button hahavior byusing OnBackPressedDispatcher  . This controls how back button events are dispatched to one or more onBackPressedCallback objects . callbacks are added using addCallback methods. e...

Android External database : Using database in "assets" folder

The best way to create a database application in android is , using an exteranal database . ie, we can create database  using tools like N avicat  , SQLite Browser  and copy this database into our application .This  method is more flexible and easy than creating a database in our application . This is a simple application using external database file.Application will insert data into database and show data from the database in a customized list view.  Screenshots of this application are MainActivity This is the first activity of this application . When  Register Here button is pressed it will start Registration Activity Editing of the entries can be done with a Long Click on the listView items. you can download the source code of this project from  google drive  https://drive.google.com/folderview?id=0BySLpWhqmbbdY3JHMkZRZFN0bEE&usp=sharing click on the above link ->sign into  your  google account ->a...