Wolfram Workbench is the recommended tool for programming in the Wolfram Language outside of the notebook interface. Wolfram Workbench is a plugin for Eclipse, a popular and robust IDE.
Wolfram Workbench requires the following software:
- Java Development Kit (JDK) 8 or later
- Eclipse 4.6 (Neon) or later. Note that the Wolfram Workbench plugin is compatible with the various standard Eclipse IDEs.
We recommend having the latest version of these installed before setting up the Wolfram Workbench plugin.
To set up Wolfram Workbench, install the plugin inside Eclipse and configure it to point to your Mathematica installation:
- Start Eclipse.
- Select the menu item Help ► Install New Software. The Available Software dialog appears.
- Click the Add button near the top right-hand corner.
- Enter a name such as “Wolfram Workbench” into the Name field and http://workbench.wolfram.com/update/ into the Location field.
- Click OK to confirm the site information. A list of Wolfram Workbench plugins is now displayed.
- Select Wolfram Workbench Core. Additionally, select Wolfram Workbench webMathematica if you plan on working with webMathematica. Click Next to confirm.
- In the Install Details window, click Next.
- In the Review Licenses window, review and accept the terms of the license agreements. Click Finish to begin the installation.
- Wolfram Workbench installs. During the installation, a security warning about unsigned content may appear; click OK to continue.
- Restart Eclipse for the changes to take effect.
If you have already downloaded the plugin from your Wolfram account, click Archive to locate WorkbenchUpdate_10.x.zip and add it directly.
The Wolfram Workbench plugin is now installed. To verify, choose Help ► About Eclipse and identify the Wolfram Workbench logo toward the bottom of the window.
Configuring the Wolfram Workbench Plugin
If multiple versions of Mathematica are installed on your machine, you can select which version you would like Wolfram Workbench to use.
- Open the Eclipse Preferences (Windows/Linux: Window ► Preferences, Mac: Eclipse ► Preferences).
- Select the Wolfram category on left-hand side of the Preferences window. The available Wolfram Engines will be displayed.
Installed versions of Mathematica within the list can be edited by selecting Edit, or further installations can be added by selecting Add and entering the product name and installation path.
- Choose your preferred Wolfram Engine installation. Click OK to confirm.