This page describes an older version of the product. The latest stable version is 16.4.

Eclipse setup


Follow these steps to prepare your development environment:

  • Ensure you have a JDK installed - you will need version 1.6 or higher, latest Java 1.6 is recommended.

Checking your JDK version

To check your installed Java version:

  1. Open a command line window.
  2. Run set JAVA_HOME`
  3. A response similar to this suggests you have a JDK installed:
JAVA_HOME=C:\jdk1.6

To check the JDK version, run %JAVA_HOME%\bin\java \-version. A response like this from Java indicates you have a valid JDK installed:

java version "1.6.0_23"
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)

If your installed JDK version is lower then 1.5 or none is installed, see below on how to install one.

Installing a proper JDK (Java Development Kit)

Steps to run the application inside Eclipse IDE

  1. Start Eclipse. A Workspace Launcher Dialog appears.
  2. Write a new workspace name or select one of your existing workspaces, and click the OK button.
  3. To import the project, select File > Import … to open the import dialog
  4. Select Existing projects into workspace* and click *Next to open the import project dialog
  5. In the Select root directory* field click the *Browse button to open the browse dialog
  6. Select the folder /examples/helloworld and click OK
  7. Make sure all 3 projects are selected: hello-common, hello-processor and hello-feeder
  8. Click Finish
  9. Create a new Eclipse environment variable called GS_HOME, and point it to your GigaSpaces installation Root folder

  10. Right Click on the hello-common project in the Package Explorer tab to open the context menu

  11. Select Build Path > Configure Build Path… to open the Java Build Path dialog

  12. Select the Libraries tab* and click the *Add Variable… button to open the New Variable Classpath Entry dialog

  13. Click the Configure Variables… button to open the Classpath Variables dialog

  14. Click the New… button to open the New Variable Entry dialog

  15. In the Name field write GS_HOME to name the variable

  16. Click the Folder… button and browse to your GigaSpaces installation root folder

  17. Select your GigaSpaces installation root folder and click OK

  18. Click OK and OK again

  19. Click Yes to do full rebuild

  20. Close remaining dialogs