$customHeader
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Summary

By default Groovy is not included within any release of Java. Due to this it means that you would need to download the relevant files and place these within Jira/lib. Below are the methods of how to install.

To our knowledge it is currently not possible to install Groovy into Java

Install into Jira/lib

Java 8

  1. Download the Groovy distribution (must contain an embeddable runtime .jar file) - https://archive.apache.org/dist/groovy/3.0.0-alpha-1/distribution/apache-groovy-binary-3.0.0-alpha-1.zip

  2. Extract the contents of the zip file

  3. Copy ./groovy-3.0.0-alpha-1/embeddable/groovy-all-3.0.0-alpha-1.jar and place within <jira_install_directory>/lib folder

Java 11 / Java 17

Currently this method is not working correctly with Java 17 within JEMH 4.1.2+, as it is resulting in an exception when scripting features are used. We will update this page with the fixed version.

  1. Download the Relevant Groovy files, can be downloaded by using the following:

    1. wget https://repo1.maven.org/maven2/org/apache/groovy/groovy/4.0.17/groovy-4.0.17.jar
      wget https://repo1.maven.org/maven2/org/apache/groovy/groovy-xml/4.0.17/groovy-xml-4.0.17.jar
      wget https://repo1.maven.org/maven2/org/apache/groovy/groovy-jsr223/4.0.17/groovy-jsr223-4.0.17.jar

      Note: Updated above links to download the current latest Groovy version.

  2. Copy these downloaded files into <jira_install_directory>/lib folder

  3. Restart Jira

Once installed you should then see that Groovy is listed as a Detected Script Engine within JEMH > Extensions > Detected Script Engines.

Screenshot from 2024-01-03 11-57-27.png

  • No labels