Eclipse Introduction: Installation


  1. The distribution can be used directly from the CD on which it is distributed, or copied to a hard disk.

    The CD distribution contains a single directory which has a name reflecting the Eclipse version number (eg. eclipse-1.0.1). All the other subdirectories (doc, bin, c) are under this directory. If desired you can copy only selected protions of this subdirectory to your hard disk.

    Within this single, versioned, directory are the following subdirectories and files:

    Thus the minimal installation would include only the subdirectory of bin appropriate to your platform, and perhaps doc/eclipse.

    In any case, we will refer to this versioned directory where files are ultimately placed as eclipse-directory.

    We suggest making a single directory on your hard disk which will keep all versions of Eclipse. For example, if you make a directory /usr/elwood, then for each new version, eclipse-directory will be /usr/elwood/eclipse-1.0, /usr/elwood/eclipse-1.1, etc.

    For additional instructions on creating and initializing this directory, see the "doc/eclipse/UNPACKING" file which was included in the distribution.

  2. Read "Organization of Eclipse".

  3. Any "quality of life" links from standard, non-eclipse directories to previous eclipse releases should be removed. Each Eclipse release contains a make clean-auxiliary command that does this. For example, as root, change to the binary directory of the previous release (eg. bin/sparc, bin/hppa, etc.) and type make clean-auxiliary. If you do not have a standard make command for your operating system, you will have to clean up after any previous Eclipse releases by hand.

  4. The eclipse program is a stand-alone, ready to run program, and is located in eclipse-directory/bin/platform. Here platform is one of windows, sparc, hppa, etc. You can run the executable as you would any other program. However there are some "quality of life" things you might want to do:

    1. Make sure the eclipse executable is in your $PATH. There are two ways to do this:
      • Edit your .cshrc, .login, or .profile, as appropriate, to include the directory eclipse-directory/bin/platform in your $PATH environment variable.
      • Link eclipse-directory/bin/platform/eclipse to some place which is already on your path. For example, on Unix systems, if /usr/local/bin is on your path and you have write permission there, use:
         ln -s eclipse-directory/bin/platform/eclipse /usr/local/bin
         

      The file eclipse-directory/bin/platform/makefile contains a setup command that will create the above link, as well as those described below. Thus, as root, one can do:

       cd eclipse-directory/bin/platform; make setup
       
    2. Set up an init.lisp file. See the "init.lisp" chapter.
    3. Set up an ECLIPSEHOME environment variable (for example, by editing your .cshrc or .profile file.) ECLIPSEHOME is only used to provide a default root for the "SYS" logical pathname host. See "Site and Other Initial Definitions".

  5. If you will use the library from C, you will need to have access to the library and the header (i.e. include) files. These are located in eclipse-directory/bin/platform.

    You can either:

    The file eclipse-directory/bin/plaform/makefile contains a setup command that will create all the above links. Thus one can do:

     cd eclipse-directory/bin/platform; make setup
     
    N.B.: See "The Eclipse Library" to see how the library is set up in your implementation.

[Previous] [Next] [Up] [Documentation Contents] [Eclipse Home Page]