Previous Topic Next topic Print topic


Installing Visual COBOL into other instances of Eclipse

Visual COBOL ships with Eclipse 4.4.2. After installing Visual COBOL, you can then also install it in other instances of Eclipse available on the same machine. The supported versions of Eclipse are 4.2, 4.3 and 4.4, only for the 32-bit Eclipse.

Note: Though Visual COBOL does not support the 64-bit Eclipse, you can use the 32-bit Eclipse to create both 32-bit and 64-bit applications.

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 <EclipseInstallDir> -version <version> [-cobdir <InstallDir>] [-nosplash]

    Where:

    • EclipseInstallDir - full path to the installation directory of the instance of Eclipse you are installing into.
    • version - version number of the instance of Eclipse that you are installing into. The valid version numbers are 4.2, 4.3 and 4.4 and these also cover minor version numbers such as 4.3.1, 4.3.2 and 4.4.1.
    • InstallDir - 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 will not replace the existing splash screen. A non-default Eclipse splash screen will not be replaced, regardless of this setting.
    Note: The default COBDIR location, in Windows environments, C:\Users\Public\Micro Focus\ProductName\eclipse. Alternatively, the COBDIR can be specified on the command line.

    Running the utility installs the Visual COBOL plug-ins into the specified version of Eclipse and copies the Visual COBOL UpdateSite folders into EclipseInstallDir\eclipse\dropins.

    For example, to install Visual COBOL into an instance of Eclipse 4.3 available in the c:\eclipse folder, run the install utility with the following parameters:
    installeclipseplugins -eclipse c:\eclipse -version 4.3 -nosplash
Previous Topic Next topic Print topic