uCosminexus Service Platform, Setup and Operation Guide

[Contents][Glossary][Index][Back][Next]

2.1.4 Installing Eclipse

You must install Eclipse to use the screen in the operating environment.

If Service Platform is used, install Eclipse by the following procedures. If Service Architect is used, use Eclipse setup functionality and install Eclipse. For details on Eclipse setup functionality, see "3.3 Setup that uses Eclipse setup functionality" in "Service Platform First Step Guide".

Note
There is no support for Eclipse other than Eclipse plug-in functionality provided by the application server and Service Platform. User investigates Eclipse usage methods and action methods for errors displayed by Eclipse and takes action.
Organization of this subsection
(1) Preparation before installation
(2) Installation procedure

(1) Preparation before installation

The following preparation is required before installing Eclipse:

(2) Installation procedure

The following points show installation procedures. Installation directory in these procedures are represented as "C:\Eclipse" and directory for operation is represented as "C:\Work".

  1. Acquire Eclipse 4.2.1 zip file by one of the following methods and store it in the directory for operation:
    • Attached product CD of Service Architect
    • Eclipse download site
      Select "Eclipse IDE for Java EE Developers" from the download site shown in the following URL:
      http://www.eclipse.org/downloads/
    Select one of the following items for zip file according to the environment:
    • Windows x86 (32 bit version): eclipse-jee-juno-SR1-win32.zip
    • Windows x64 (64 bit version): eclipse-jee-juno-SR1-win32-x86_64.zip
  2. Start command prompt and move the current directory to the directory for operation.
    Execution example of command prompt
    cd C:\Work
    Also execute the following command and extract zip file:
    "<Service Platform installation directory>\jdk\bin\jar.exe" xvf <Eclipse zip file name>
  3. Copy the extracted file in the Eclipse installation directory.
    Use explorer and copy all files and directories under C:\Work\eclipse in C:\Eclipse.
  4. Use explorer and delete the directory for operation.
    Note: Since the downloaded file is also deleted, take back up in advance if required.
  5. From the file copied by procedure 3, open eclipse.ini file by editor and add the following 2 options:
    • -vm option
      <Service Platform installation directory>\jdk\bin\javaw.exe
    • -vmargs option
      -Djava.endorsed.dirs=<Service Platform installation directory>\jaxp\lib
    An example of eclipse.ini file contents after the option is added is described here:
    • In Windows 32 bit version
       
      -vm
      C:\Program Files\Hitachi\Cosminexus\jdk\bin\javaw.exe
      -startup
      plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
      --launcher.library
      plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813
      -product
      org.eclipse.epp.package.jee.product
      --launcher.defaultAction
      openFile
      --launcher.XXMaxPermSize
      256M
      -showsplash
      org.eclipse.platform
      --launcher.XXMaxPermSize
      256m
      --launcher.defaultAction
      openFile
      -vmargs
      -Dosgi.requiredJavaVersion=1.5
      -Dhelp.lucene.tokenizer=standard
      -Xms40m
      -Xmx512m
      -Djava.endorsed.dirs=C:\Program Files\Hitachi\Cosminexus\jaxp\lib
       
    • In Windows 64 bit version
       
      -vm
      C:\Program Files\Hitachi\Cosminexus\jdk\bin\javaw.exe
      -startup
      plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
      --launcher.library
      plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120522-1813
      -product
      org.eclipse.epp.package.jee.product
      --launcher.defaultAction
      openFile
      --launcher.XXMaxPermSize
      256M
      -showsplash
      org.eclipse.platform
      --launcher.XXMaxPermSize
      256m
      --launcher.defaultAction
      openFile
      -vmargs
      -Dosgi.requiredJavaVersion=1.5
      -Dhelp.lucene.tokenizer=standard
      -Xms40m
      -Xmx512m
      -Djava.endorsed.dirs=C:\Program Files\Hitachi\Cosminexus\jaxp\lib
       
  6. Execute the following command and start Eclipse:
    C:\Eclipse\eclipse.exe
    Check that Eclipse is started.

With this, installation of Eclipse is complete.