Skip to content

Prerequisites

Dmitry Leskov edited this page Jul 12, 2017 · 2 revisions

Before using this plugin, you need to install Excelsior JET. You may find a fully functional evaluation version of Excelsior JET here. It is free for evaluation purposes and the only limitation it has is that it expires 90 days after installation, along with all compiled applications.

Note: As of version 12, Excelsior JET does not support cross-compilation (the only exception is Excelsior JET Embedded for Linux/ARM, which is hosted on Windows). This means that you need to build your application on each platform separately. The supported platforms are Windows (32- and 64-bit), Linux (32- and 64-bit), and OS X (64-bit).

Excelsior JET Installation Directory Lookup

In order to do its job, the plugin needs to locate an Excelsior JET installation. You have three ways to specify the Excelsior JET installation directory explicitly:

  • add the jetHome parameter to the excelsiorJet{} plugin extension

  • pass the jet.home system property on the Gradle command line as follows:

    gradlew jetBuild -Djet.home=[JET-Home]
    
  • or set the JET_HOME O/S environment variable

If none of above is set, the plugin searches for an Excelsior JET installation along the PATH. So if you only have one copy of Excelsior JET installed, the plugin should be able to find it on Windows right away, and on Linux and OS X - if you have run the Excelsior JET setenv script prior to launching Gradle.