Windows: Installing Eclipse

Download the latest version of Eclipse from http://www.eclipse.org.
In Augus, 2017, we chose Eclipse for RCP and RAP Developers, which is 236Mb. The Eclipse for RCP and RAP Developers version includes the plug-in development environment (PDE), which is needed by the backtrack facility, which is an optional part of Ptolemy II that allows models to restore their old state. If the version of Eclipse that you install does not have the PDE, then there will be build errors, which can be fixed by excluding ptolemy/backtrack/ from the build.

Eclipse is available as both 32-bit and 64-bit binaries. Deciding which one to download can be complex, see 32-bit or 64-bit.
After determining whether to download the 32-bit or 64-bit version of Eclipse, download the file and unzip the download file into an appropriate place, such as C:\Program Files, which will create C:\Program Files\eclipse\eclipse.exe.
If eclipse\eclipse.exe is not created, then it could be that the security policy on your machine is preventing the creation of .exe files. If this is the case, then try right clicking on the zip file, select "Properties" and then at the bottom, hit "Unblock" and then "Apply". Or try running unzip from the command line.

To use Accessors, a symbolic link must be created in $PTII/org/terraswarm/accessor/accessors/. To create this link automatically, Eclipse must be run as an administrator. If Eclipse is run as a user other than an administrator, you may see a message: "A required privilege is not held by the client"

  1. Right click on the exclipse.exe icon, then select Properties, then the Compatibility tab
  2. Select "Run this Program As An Administrator"
  3. Click on OK

Windows Eclipse Troubleshooting hints