Sunday, January 19, 2014

Install android for linux

Steps to install Android Development Tool for Linux.



  1. Download SDK ADT bundle for linux.
  2. Unpack the ZIP file (named adt-bundle-.zip) and save it to an appropriate location, such as a "Documents" directory in your home directory.
  3. Open the adt-bundle-/eclipse/ directory and launch eclipse.
That's it! The IDE is already loaded with the Android Developer Tools plugin and the SDK is ready to go. 

Caution: Do not move any of the files or directories from the adt-bundle- directory. If you move the eclipse or sdk directory, ADT will not be able to locate the SDK and you'll need to manually update the ADT preferences.
To proceed with the installation
A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations:
Install JDK 7 INSTALL ORACLE JAVA 7 IN UBUNTU VIA PPA REPOSITORY

Preparing your system
First you need to remove openjdk for this run the following command from your terminal

sudo apt-get purge openjdk*

If you installed java 7 from any other PPA and you are having problem with java then you have to do following steps before installing the PPA menctioned here


sudo rm /var/lib/dpkg/info/oracle-java7-installer*
sudo apt-get purge oracle-java7-installer*
sudo rm /etc/apt/sources.list.d/*java*
sudo apt-get update

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer


Sunday, September 16, 2012

install java in upbuntu

http://www.ubuntugeek.com/how-to-install-oracle-java-7-in-ubuntu-12-04.html

Preparing your system
First you need to remove openjdk for this run the following command from your terminal
sudo apt-get purge openjdk*
If you installed java 7 from any other PPA and you are having problem with java then you have to do following steps before installing the PPA menctioned here
sudo rm /var/lib/dpkg/info/oracle-java7-installer*
sudo apt-get purge oracle-java7-installer*
sudo rm /etc/apt/sources.list.d/*java*
sudo apt-get update
Install oracle java 7 in ubuntu 12.04
Open the terminal and run the following commands
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
You can check the java version by searching java in dashboard

install android sdk in ubuntu 12.04LTS-64

http://askubuntu.com/questions/131207/android-sdk-cant-be-installed-on-ubuntu-12-04-64



It is highly recommended that you install ia32-libs so that the SDK is compatible with your 64-bit machine.
sudo apt-get update
sudo apt-get install ia32-libs
Or, if you're running Ubuntu 12.04, you may have to install ia32-libs-multarch instead:
sudo apt-get update
sudo apt-get install ia32-libs-multiarch
I've been maintaining this thread on XDA-Developers for a while now, I took bits & pieces from other forums, and put this method together. Googles method never worked for me, and made me hate Ubuntu. But, eventually it grew on me and I've gotten more advanced with Linux distros. Hope my thread can help someone. Enjoy the possibilities!!!!!
http://forum.xda-developers.com/showthread.php?p=9393280#post9393280

install eclipse

http://askubuntu.com/questions/26632/how-to-install-eclipse

  1. Extract the eclipse.XX.YY.tar.gz using
    $ tar -zxvf eclipse.XX.YY.tar.gz
    
  2. Become root.
    $ sudo su
    
  3. Copy the extracted folder to /opt
    # cp -r eclipse.XX.YY /opt
    
  4. Create a desktop file and place it into /usr/share/applications
     # gedit /usr/share/applications/eclipse.desktop
    
    and copy the following to the eclipse.desktop file.
    [Desktop Entry]
    Name=Eclipse 
    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.desktop
    
  5. Create a symlink in /usr/local/bin using
     # cd /usr/local/bin
     # ln -s /opt/eclipse/eclipse
    
That's it.

Sunday, August 05, 2012

Mysql

http://forum.hostek.com/showthread.php?436-How-do-I-connect-to-my-database-using-MySQL-Workbench