layout: global displayTitle: SystemML Developer Tools title: SystemML Developer Tools description: SystemML Developer Tools

Useful Tools for Developing SystemML:

  • This will become a table of contents (this text will be scraped). {:toc}


IntelliJ can be used since it provides great support for mixed Java and Scala projects as described here.

Import SystemML project to IntelliJ

  1. Download IntelliJ and install the Scala plug-in for IntelliJ.
  2. Go to “File -> Import Project”, locate the spark source directory, and select “Maven Project”.
  3. In the Import wizard, it's fine to leave settings at their default. However it is usually useful to enable “Import Maven projects automatically”, since changes to the project structure will automatically update the IntelliJ project.


Eclipse Luna SR2 can be used for an integrated development development environment with SystemML code. Maven integration is required which is included in the Eclipse IDE for Java Developers package.

To get started in Eclipse, import SystemML's pom.xml file as an existing Maven project. After import is completed, the resulting Eclipse installation should include two maven connectors.

About Eclipse

Eclipse Details

Eclipse with Scala

An additional Maven connector is required for working with Scala code in Eclipse. The Maven Integration for Scala IDE plugin can be installed into Eclipse from this update site.

Maven Scala Integration

Installed Maven Connectors
The Scala IDE 4.0.0 plugin for Eclipse is known to work for mixed Java and Scala development in Eclipse IDE for Java Developers Luna SR2. Release 4.0.0 of the Scala IDE for Eclipse plugin can be downloaded here and then installed through Eclipse's ‘Install New Software’ menu item. Only the Scala IDE and ScalaTest components are needed.

Scala IDE Components

Eclipse Scala Details

Note the corresponding Eclipse project needs to include the Scala nature. Typically this occurs automatically during project import but also can be invoked directly by right clicking on the systemml project node in the Eclipse Package Explorer view.

Add Scala Nature

Eclipse Java Only (How to skip Scala)

Since the core SystemML code is written in Java, developers may prefer not to use Eclipse in a mixed Java/Scala environment. To configure Eclipse to skip the Scala code of SystemML and avoid installing any Scala-related components, Maven lifecycle mappings can be created. The simplest way to create these mappings is to use Eclipse's quick fix option to resolve the following pom.xml errors which occur if Maven Integration for Scala is not present.

Scala pom errors

Scala pom ignore

The lifecycle mappings are stored in a workspace metadata file as specified in Eclipse's Maven Lifecycle Mappings Preferences page. The pom.xml file itself is unchanged which allows the Scala portion to be built outside of Eclipse using mvn command line.


Please see below how to resolve some compilation issues that might occur after importing the SystemML project:

invalid cross-compiled libraries error

Since Scala IDE bundles the latest versions (2.10.5 and 2.11.6 at this point), you need do add one in Eclipse Preferences -> Scala -> Installations by pointing to the lib/ directory of your Scala 2.10.4 distribution. Once this is done, select all Spark projects and right-click, choose Scala -> Set Scala Installation and point to the 2.10.4 installation. This should clear all errors about invalid cross-compiled libraries. A clean build should succeed now.

incompatible scala version error

Change IDE scala version project->propertiest->scala compiler -> scala installation to Fixed scala Installation: 2.10.5

Not found type * error

Run command mvn package, and do project -> refresh

maketplace not found error for Eclipse Luna

Except scala IDE pulgin install, please make sure get update from “” to update maven connector for scala.