Eclipse requires a Java Runtime Environment (JRE) to be installed on your host system in order to run. The Eclipse installer will attempt to locate a JRE on the host system during installation. If it fails to find a suitable candidate, it will prompt the user to enter a path to the JRE, as illustrated in Figure 4-12
The search order used by the installer is as follows:
JAVA_HOME environment variable
JAVAHOME environment variable
JDK_HOME environment variable
JRE_HOME environment variable
JAVA_ROOT environment variable
JAVA_BINDIR environment variable
PATH environment variable
Windows registry (Windows only)
Program Files/Java/jre* (Windows only)
/usr/java/jdk (Linux only)
/usr/java/latest (Linux only)
/usr/lib/java (Linux only)
/usr/lib/jvm (Linux only)
/usr/lib/jvm/jre (Linux only)
/usr/lib/java-1.4.0 (Linux only)
/usr/lib/java-1.4.1 (Linux only)
/usr/lib/java-1.4.2 (Linux only)
/usr/lib/java-1.5.0 (Linux only)
If java has not been installed on your host, or if the JRE is unsuitable, a pop-up window illustrated in Figure 4-13 will appear.
You may select NO if you do not wish to immediately download and install Java, in which case the installation of Eclipse will continue. However, you must manually install a suitable JRE before using Eclipse. In this case you will receive a pop-up warning with the following message:
The installation of Eclipse will now resume but you must install a suitable JRE (Java Runtime Enginer) and ensure that it is in your path before starting Eclipse.
If you select Cancel, then the Eclipse installation, as well as any eCosPro installation which invoked it, will be terminated immediately.
If you select YES, a browser window will open for you at http://www.java.com/ to allow you to select, download and install the latest JRE from Oracle/Sun. After the browser has been launched, you will then see a second pop-up window with the following message:
You may resume the installation of eCosPro Eclipse while downloading and installing java.
Most installations of Java will not require a reboot following the installation. However, if your Java installation requires a reboot, DO NOT REBOOT your system until the eCosPro installation has totally completed.
eCosPro Eclipse does not attempt to check whether a JRE or a suitable JRE has been installed following its installation. Eclipse will simply fail to start if no JRE is found or will terminate with an error if the first JRE found in its path is unsuitable.
|Installation of eCosPro source code, documentation and components||Up||Installation Complete|