Installing Visual COBOL into other instances of Eclipse

Visual COBOL ships with Eclipse 4.16 (2020-06).

After installing Visual COBOL, you can then also install it in other instances of Eclipse 4.16 (2020-06) available on the same machine; no other versions of Eclipse are supported.

Note: You must use the Eclipse IDE for Java EE Developers package. This includes all the tools that Visual COBOL requires.

To assist you with automatically installing the Micro Focus plug-ins into other instances of Eclipse, Visual COBOL provides an installation utility, installeclipseplugins.bat available in the %ProgramFiles(x86)%\Micro Focus\Visual COBOL\installer folder.

To install Visual COBOL into another instance of Eclipse:

  1. Start a Visual COBOL command prompt.
  2. At the command prompt, navigate to the location of the install utility: %ProgramFiles(x86)%\Micro Focus\Visual COBOL\installer.
  3. Run the install utility from the command prompt using the following syntax:
    installeclipseplugins -eclipse <EclipsePath> [-cobdir <CobdirPath>] [-nosplash] [-installsubclipse]

    where:

    EclipsePath
    Full path to the installation directory of the instance of Eclipse you are installing into.
    CobdirPath
    Optional - the full path to the installation directory of Visual COBOL. If this is not specified, the COBDIR environment variable is used.
    -nosplash
    Optional - if set, the installation does not replace the existing splash screen. A non-default Eclipse splash screen is not replaced, regardless of this setting.
    -installsubclipse
    Optional - if set, Subclipse is installed to the specified Eclipse location.
    Note: Ensure that your PATH is set to a 64-bit version of Java. The default COBDIR location on Windows is C:\Program Files (x86)\Micro Focus\Enterprise Developer. Alternatively, you can specify COBDIR from the command line.

    Running the utility installs the Visual COBOL plug-ins into the specified Eclipse instance.

    For example, to install Visual COBOL into an instance of Eclipse 4.16 (2020-06), available in the c:\eclipse folder, run the install utility with the following parameters:
    installeclipseplugins -eclipse c:\eclipse -nosplash