Announcement: You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. This Developer Center contains the guides for Commerce 6.13.0 through 7.4.1.Visit new site

This version of Elastic Path Commerce is no longer supported or maintained. To upgrade to the latest version, contact your Elastic Path representative.

1. Eclipse RCP 4.5.1 Mars

1. Eclipse RCP 4.5.1 Mars

When working with Elastic Path projects, we recommend using the Eclipse RCP 4.5.1 Mars IDE.

Installing 4.5.1 Mars

Download and install the Eclipse 4.5.1 Mars for RCP and RAP Developers:

  1. Go to: http://www.eclipse.org/downloads/packages/eclipse-rcp-and-rap-developers/mars1
  2. Download the appropriate version of Eclipse for RCP and RAP Developers for your operating system.
  3. Unzip the eclipse-rcp-mars-SR1-RC3-win32-x86_64.zip file into a directory.
    Note: Linux Note

    Download and unzip the Linux 64-bit version of Eclipse for RCP and RAP Developers.

Setting Eclipse's Startup Arguments

  1. With Notepad, navigate to your Eclipse folder and open eclipse.ini.
  2. In eclipse.ini, replace the following properties:
    eclipse.ini
    Before After
    -vmargs
    -Dosgi.requiredJavaVersion=1.7
    -Xms40m
    -Xmx512m
    
    -vm
    C:/Program Files/Java/jdk1.8.0_66/bin/javaw.exe
    -vmargs
    -Dosgi.requiredJavaVersion=1.8
    -Xms2048m
    -Xmx2048m
    -Xmn512m
    -Xss2m
    -XX:ReservedCodeCacheSize=64m
    -XX:SurvivorRatio=4
    -XX:+UseParallelGC
    -Dsun.lang.ClassLoader.allowArraySyntax=true
    
    
    Note:

    In Windows, make sure the -vm argument points to the JDK's executable.

    In Linux, point the -vm argument to the directory that contains the JDK's executable. (ie. Java/jdk1.8.0_21/bin)

    Note:

    Eclipse may fail to start if the values assigned to -Xms and -Xmx are too large for your system to handle. You should tweak these values to best suit your system.