I use Eclipse for "usual" Java development, and for Android development as well. This article describes how to get to my current configuration, on Linux Mint 10 (Julia - based on Ubuntu 10.10), on Ubuntu 12.04 and on Linux Mint 13 64 bits:
- Eclipse:
- download eclipse-java-indigo-SR1-linux-gtk.tar.gz (Eclipse IDE for Java developers)
- extract contents of archive into ~/eclipseIndigo
- create a soft link named eclipse, pointing to eclipseIndigo
- create a new entry into the menu, using the soft link
- start Eclipse, and perform an update
- WindowBuilder:
- start Eclipse, and run the WindowBuilder wizard (File / New / Other... / WindowBuilder / SWT User Interface). This will download and install the SWT Toolkit. SWT Designer 1.3.0 is installed as well. Restart Eclipse.
- using Help / Install new software..., install WindowBuilder Core Documentation
- install Eclipse SDK as well, to get SWT API reference (in Help / Help contents / Platform Plug-in Developer Guide / Reference / API Reference)
- Subversive:
- using Synaptic, install SVNkit 1.3.3 and Subversion 1.6.12
- using Help / Install new software..., add Subversive SVN Team Provider, Subversive SVN JDT Ignore Extensions, Subversive Revision Graph. Restart Eclipse. It displays the Subversive connector discovery window. Select SVN Kit 1.3.2 and install. Restart Eclipse.
- SQLite:
- using Help / Install new software..., add Data Tools Platform Extender SDK and Data Tools Platform Enablement Extender SDK
- download the SQLite JDBC driver available here (Xerial JDBC driver version 3.7.2)
- put the jar file into a jdbc subdirectory, created in eclipseIndigo directory
- install sqlite3
- within Eclipse, using Window / Preferences / Data Management / Connectivity / Driver Definitions, declare a new driver using the downloaded jar file
- once an SQLite database is created, declare a new connection to it, using File / New / Other... / Connection Profiles / Connection Profile - warning: using a previous version of the driver (3.6.20) constantly led me to an "out of memory" error being displayed by Eclipse. With version 3.7.2, the error disappeared.
- JDBC driver usage
- Android:
- download the SDK Starter Package (r17 at the time of writing this article)
- untar the file, and move resulting directory to /usr/lib/. Set owner to root:root, and access to read + execute for all
- install the ADT plugin, restart Eclipse. An error message is displayed about missing component. You can forget about it for now.
- add platforms and components, starting Android SDK and AVD Manager from command line (sudo /usr/lib/android-sdk-linux/tools/android). If started from Eclipse, it's not possible to specify proxy to be used! But there is a stronger reason to start it from command line: as I installed the SDK into /usr/lib, the program needs root rights to install software... Install required SDK versions and components.
- restart Eclipse
- prepare linux to detect the phone, by creating the udev rule file /etc/udev/rules.d/51-android.rules, with contents:
SUBSYSTEM=="usb", ATTR{04e8}=="0bb4", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{0b05}=="0bb4", MODE="0666", GROUP="plugdev"
- The first line is for a Samsung device, the second line for an Asus one (the list of USB vendor ids is here).
On Linux Mint 13 64 bits (Maya - based on Ubuntu 12.04 Precise Pangolin)
- Java:
- Eclipse:
- install Juno (Eclipse IDE for Java developers - 64 bits) into ~/eclipseJuno
- create a soft link named eclipse, pointing to eclipseJuno
- create a new entry into the menu, using the soft link
- WindowBuilder:
- Subversive:
- SQLite:
- Android:
- install ia32-libs package, in order to get 32 bits compatibility
- follow these instructions (install SDK to /usr/lib/, as above)
- UML modeling:
- install Papyrus (Papyrus SDK Binaries (Incubation) from Modeling section of Juno update site)
Serial ports
See this article.
Linux Mint 16
See this article.