sábado, 24 de noviembre de 2012

Java: Install Eclipse on Ubuntu 12.04

Forma estándar de instalar Eclipse en Ubuntu

Precondición: Debemos tener instalado java.

# Remover Eclipse si esta Instalado previamente
#----------------------------------------------------------------------------------------------------

# Install Eclipse Platform    (standard form)
#----------------------------------------------------------------------------------------------------

sudo apt-get install eclipse-platform

# Extras:
# Install JDT for Java Development If you want
sudo apt-get install eclipse-jdt

# Install CDT for C/C++ Development If you want
sudo apt-get install eclipse-cdt

#Launch Eclipse Platform
eclipse

# If an error similar to the following:
# An error has occurred. See the log file /home/username/.eclipse/org.eclipse.platform_3.7.0_155965261/configuration/1353802599085.log.
# Then do following:
ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86/
#And on Ubuntu 12.04 64 bit try:
ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86_64/

# The Result folder Structure on Linux system is following:
#      /usr/bin/eclipse #sh
#      /usr/share/eclipse
#      /usr/lib/eclipse
#      /home/username/.eclipse/
#      /home/username/.config/eclipse/
#      /etc/eclipse.ini


Instalando desde un zip en Ubuntu


Primero nos aseguramos de si nuestro sistema es 32bits o 64bits para saber que copia bajar de Eclipse:

uname -a

Luego bajamos una copia en un zip:

Eclipse Luna: https://www.eclipse.org/downloads/


Descomprimimos en nuestro "home" y editamos el archivo "eclipse.desktop" que va a funcionar como acceso directo que lanza la aplicación (ver: http://difusal.blogspot.com.ar/2014/07/how-to-install-eclipse-luna-44-on-ubuntu.html).




References:
- How to Install Eclipse IDE on Ubuntu 12.04
- Instalando Eclipse Indigo en Ubuntu (u otro Linux)
- Eclipse 4.2 (JUNO) in Ubuntu 12.04.

- Youtube: Install Java and Eclipse IDE into Ubuntu Desktop 12.04.
- Youtube: Como instalar Eclipse Indigo en Ubuntu 10.04.

- How to install Eclipse in folder independent? 

Eclipse Luna:
https://www.eclipse.org/downloads/
http://ubuntuhandbook.org/index.php/2014/06/install-latest-eclipse-ubuntu-14-04/
http://difusal.blogspot.com.ar/2014/07/how-to-install-eclipse-luna-44-on-ubuntu.html

No hay comentarios:

Publicar un comentario