---
title: "[Xporter Server] Incompatibilty with Jira 9.11 and above"
canonical: "https://docs.getxray.app/space/ProductKB/46269217/%5BXporter%20Server%5D%20Incompatibilty%20with%20Jira%209.11%20and%20above"
format: markdown
---
## Problem

After a clean install of Jira 9.11 or above, Xporter is not able to generate reports.

## Solution

This happens because the JAVA version that Jira instals is not compatible with Xporter or DocGen.

To mitigate this issue, JAVA version needs to be set to JAVA 11.


> ℹ️ 1. Install in the Operational System or download the version of Java required by Xporter (JAVA 11);
> ℹ️ 2. Keep the path of the Java home folder noted, to be used later (step 4);
> ℹ️ 3. Stop JIRA;
> ℹ️ 4. Set the path where you installed Java as the `JAVA_HOME` (JDK) or JRE_HOME (JRE) variables for JIRA (see instructions below);
> ℹ️ 
> ℹ️ <span style="color: #172b4d">Note: If JRE_HOME is not defined, Jira will define its value using the JAVA_HOME value.</span>

## Specific actions per operating system:

### Windows (manual start):

> ℹ️ - `Go to the path where you installed Jira, then open the bin folder;`
> ℹ️ - `Edit the setenv.bat file, including the below just under the @echo off line;`
> ℹ️ 
> ℹ️ `If the JAVA installed is JRE:`  
> ℹ️   
> ℹ️ `SET JRE_HOME="\path\to\new\jre\home"`  
> ℹ️   
> ℹ️ `If the JAVA installed is JDK:`  
> ℹ️   
> ℹ️ `SET JAVA_HOME="\path\to\new\jdk\home"`
> ℹ️ 
> ℹ️ - `Set PATH  to include the <Java>\bin folder;`
> ℹ️ 
> ℹ️ `SET PATH="\path\to\new\jdk\bin or jre\bin;%PATH%" `
> ℹ️ 
> ℹ️ - `Restart JIRA;`

### Windows (Jira as a Service):

> ℹ️ - Stop the JIRA service;
> ℹ️ - Run the below command on a Command Prompt as an Administrator, inside the `bin` folder of JIRA's Installation Directory;
> ℹ️   `tomcat8w.exe //ES//JIRA050815072407 `
> ℹ️   This command is dependent on the version of Tomcat your instance is using. Check the executable present in** <JIRA Install Directory>/bin/**
> ℹ️   You can get the service name by going to your Windows services and copying the service name for the "Atlassian JIRA" service. For example, 'JIRA050815072407' in this case.
> ℹ️ - On the **Java** tab, choose the location of the `jvm.dll` file from the JDK/JRE installation directory you want to use;
> ℹ️ - Start the JIRA service;

### Linux/Unix:

> ℹ️ For Linux/Unix based operational system, using manual start:
> ℹ️ 
> ℹ️ - Go to the location where you installed JIRA, then to the `bin` folder;
> ℹ️ - Edit the `setenv.sh` file and add the lines at top of the file:
> ℹ️ 
> ℹ️ If the JAVA installed is JRE:
> ℹ️ 
> ℹ️ `JRE_HOME="/path/to/new/jre/home"`
> ℹ️ 
> ℹ️ If the JAVA installed is JDK:
> ℹ️ 
> ℹ️ `JAVA_HOME="/path/to/new/jdk/home"`
> ℹ️ 
> ℹ️ - 
> ℹ️   - For instance: JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.8.0_241.jdk/Contents/Home"
> ℹ️ 
> ℹ️ - Set PATH <span style="color: #172b4d"> to include the <Java>/bin folder</span>
> ℹ️ 
> ℹ️ `PATH="/path/to/new/jdk or jre/bin:$PATH"`
> ℹ️ 
> ℹ️ - Restart JIRA


## Related articles



[How to change the Java version used by Jira | Jira | Atlassian Documentation](https://confluence.atlassian.com/jirakb/change-the-java-version-used-by-jira-server-765594330.html)

[Bundled Tomcat and Java versions | Atlassian Support | Atlassian Documentation](https://confluence.atlassian.com/jiracore/bundled-tomcat-and-java-versions-1013854250.html)

> Macro (details)
> 
> | **Related issues** |  |
> | --- | --- |