Difference between revisions of "Installing Eclipse"
(added instructions for installing Java) |
(added next section) |
||
Line 31: | Line 31: | ||
developer@ldc:~$ java -version | developer@ldc:~$ java -version | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | |||
+ | === Install EMAC Eclipse === | ||
+ | # Download the EMAC Eclipse 3.6 distribution from the [ftp://ftp.emacinc.com/Controllers/Development_Kits/EMAC_Open_Tools/Linux/ EMAC ftp site]. | ||
+ | # Uncompress: |
Revision as of 06:20, 14 May 2013
Before beginning installation of Eclipse, it is important to ensure that you have the necessary tools. These tools can either be command line interface (CLI) or graphical programs. This guide provides instructions for both options.
Table 1: Conventions | |
---|---|
/download/directory/ |
Placeholder indicating the directory to which the SDK archive will be downloaded. |
/target/directory/ |
Placeholder indicating the directory to which Eclipse will be extracted. EMAC recommends
that this directory be located somewhere within the development user's home directory. |
EMAC only provides an Eclipse distribution for installation on Linux PCs. It is not meant to be installed on the target board or Windows PCs. |
Required Tools
- Web browser or other FTP-aware client
- Archiving tool, two options are available
- Graphical: Ark for KDE, File Roller for GNOME
- CLI: Tar is standard
Procedure
Install Java
Eclipse is a Java application and as such requires a Java Virtual Machine (JVM) to run. Several different JVM providers are available, including OpenJDK and Oracle Java. EMAC recommends installing OpenJDK version 6 to support the Eclipse 3.6 distribution. NEED TO TEST THIS -- CAN THEY USE VERSION 7? If you will not be doing any software development in the Java language, a Java Runtime Environment (JRE) is sufficient, otherwise, you will need to install a Java Development Kit (JDK).
Installation instructions will vary widely depending on the Linux distribution used on the development system. Most distributions, including Ubuntu and Debian, have standard packages available for OpenJDK on the distribution's software repositories. For example, to install OpenJDK6 JRE on Ubuntu or Debian, use the openjdk-6-jre
package. For a JDK, the openjdk-6-jdk
package can be installed instead of the JRE.
Refer to the documentation for your distribution for more information on how to install Java for your platform.
Once Java has been installed, test the installation by verifying that the java command executes properly and reports the expected version:
developer@ldc:~$ java -version
Install EMAC Eclipse
- Download the EMAC Eclipse 3.6 distribution from the EMAC ftp site.
- Uncompress: