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

2. Eclipse RCP 4.3.1 Kepler

2. Eclipse RCP 4.3.1 Kepler

When working with Elastic Path projects, we recommend using the Eclipse RCP 4.3.1 Kepler IDE.

Installing Eclipse RCP 4.3.1 Kepler

Download and install the Eclipse RCP 4.3.1 Kepler for RCP and RAP Developers:

  1. Go to: http://www.eclipse.org/downloads/packages/eclipse-rcp-and-rap-developers/keplersr1-rc3
  2. Download the Windows 64-bit version of Eclipse for RCP and RAP Developers
  3. Unzip the eclipse-rcp-kepler-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:
    Before After
    eclipse.ini
    -vmargs
    -Dosgi.requiredJavaVersion=1.5
    -Xms40m
    -Xmx512m
    
    -vm
    C:/Program Files/Java/jdk1.7.0_21/bin/javaw.exe
    -vmargs
    -Dosgi.requiredJavaVersion=1.7
    -Xms2048m
    -Xmx2048m
    -XX:MaxPermSize=768m
    -XX:PermSize=512m
    -Xmn512m
    -Xss2m
    -XX:ReservedCodeCacheSize=64m
    -XX:SurvivorRatio=4
    -XX:+UseParallelGC
    -Dsun.lang.ClassLoader.allowArraySyntax=true
    
    Note: Windows -vm Arguments

    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.7.0_21/bin)

    Note: Eclipse Fails

    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.