Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. A Servoy Developer installation, with the SQL Explorer plugin installed
  2. A separate Eclipse environment with the Eclipse plugin development tools installed 
  3. Configuration of the Eclipse installation

Before getting started: 32 or 64 bit installation

The easiest setup will be when both Servoy Developer and Eclipse operate either under 32 of 64 bit.

Servoy Developer: When installing Servoy Developer, the installer will automatically detect if it's being operated under a 32 or 64 bit Java Virtual Machine and will install a 32 or 64 bit version of Servoy accordingly. By making a certain JVM the default JVM before launching the cross platform Servoy installer or launching the cross platform Servoy installer using a specific JVM, one can control if the installer will install a 32 or 64 bit version of Servoy.

Eclipse: When downloading Eclipse distributions, there are specific downloads available for 32 or 64 bit systems. Note that for Windows, only limited Eclipse distributions offer a download for 64 bit Windows.

When mixing 32 and 64 bit, more configuration is required. This will be discussed under Configuration > Setup the Target Platform.

Installing Servoy Developer

...

For a more indepth description of installing Servoy Developer, see Installing Servoy Developer|...|\

Wiki MarkupAfter installation, start Servoy Developer and install the SQL Explorer plugin. See \[\] for more See SQL Explorer integration for more information.

Installing Eclipse with the Eclipse plugin development tools

...

  1. Generic
  2. Mac OSX
  3. Mac OSX 64 bit
  4. Windows 32 bit
  5. Windows 64 bit
  6. Linux
  7. Linux 64 bit
    Tip
    Check the JVM setup of Eclipse/Servoy Developer
    Check the JVM setup of Eclipse/Servoy Developer

    To check if Eclipse/Servoy Developer runs on a 32 or 64 bit JVM follow the following steps:

    • Open Eclipse/Servoy Developer
    • Go to Help > About Eclipse/About Servoy Developer > Installation Details > Configuration tab and look for the text '-arch'.
    • If the text is followed by 'x86', Eclipse/Servoy Developer runs on 32 bit. If it is followed by 'x86_64', Eclipse/Servoy Developer runs on 64 bit
  • Switch to the Java Perspective: Window > Open Perspective > Java
  • Expand to com.servoy.eclipse.core > target in the Package Explorer
  • Open (double-click) the correct .target file:
    • when Eclipse and Servoy Developer both run on either a 32 or 64 bit JVM, open the generic.target file
    • otherwise, open the file that matches the Servoy Developer environment
  • Click the 'Set as Target Platform'. This will setup the Target Platform correctly, after which projects will be build and should compile without error. TipCheck the JVM setup of Eclipse/Servoy DeveloperCheck the JVM setup of Eclipse/Servoy Developer

    To check if Eclipse/Servoy Developer runs on a 32 or 64 bit JVM follow the following steps:

  • Open Eclipse/Servoy Developer
  • Go to Help > About Eclipse/About Servoy Developer > Installation Details > Configuration tab and look for the text '-arch'.
  • If the text is followed by 'x86', Eclipse/Servoy Developer runs on 32 bit. If it is followed by 'x86_64', Eclipse/Servoy Developer runs on 64 bit
  • When using a mixed setup (generic.target is NOT used), the following additional steps are required:
    • Add the JVM that is used by Servoy Developer to the Eclipse instance:
      • Open window > Preferences > Java > Installed JREs and click "Add"
      • Select "Standard VM" and click "Next"
      • Select the directory of the JVM used by Servoy Developer as "JRE home" and click "Finish"
      • Due to a bug in Eclipse: close the Preferences window
      • Open Window > Preferences > Java > Installed JREs > Execution Environments
      • Select the correct Execution Environment (the correct version of J2SE/JavaSE) and check the checkbox besides the name of the JRE under "Compatible JREs"that was added in the previous step

Ready: After completing the steps described above, the Eclipse installation is setup correctly to launch Servoy Developer. By starting a Debug session (F11 or Run >  Debug) Servoy Developer is launched from Eclipse.

Note
titleLaunch preferences

When starting a debug session, Servoy Developer will launch with default settings. For example the workspace that is opened is set to /workspace, relative to the Servoy Developer installation. to edit the launch settings, open Run > Debug Configurations > Eclipse Application > Servoy Launch and edit the settings.