beautypg.com

Installing java runtime, Install eclipse ide for c/c++ developers – ThingMagic Mercury xPRESS Platform v1.7 User Manual

Page 79

background image

A D I V I S I O N O F T R I M B L E

Installing Developer Tools on LINUX OS

79

If this happens, check $HOME/.profile for typos

To make the path change take full effect, log out and back in again.

Using source only has an effect in the current shell, so no other sessions
or windows will see the profile change yet.

6. Invoke GCC

• On Linux and Mac OS X, either invoke with the complete path like this:

$ $install_dir/gcc-arm-none-eabi-*/bin/arm-none-eabi-gcc

• Or, if the PATH has been set:

$ arm-none-eabi-gcc

Installing Java Runtime

The Eclipse IDE, which will be installed in the next step, is a Java program. You need to
install a Java runtime before you can run it.

1. Determine if your OS is 32-bit or 64-bit

file /sbin/init

2. Check if Java is already installed

java -version

3. Go to http://java.com and click on the Download button.

Download the appropriate version of JRE (for example, “jre-7u45-linux-i586.tar.gz”)

Open the file with Archive Manager and extract it

4. From the Ubuntu command line, type the following in the command window:

sudo apt-get install openjdk-6-jre

Enter the administrator password when prompted. If this version of JRE is already
installed, the script will indicate this and terminate.

Install Eclipse IDE for C/C++ Developers

Download Eclipse IDE for C/C++ Developers. We have tested with both the Juno and Kepler
versions of this IDE. These instructions refer to the Kepler version.