Requirements Gateway Conversion Problem Java May Not Be Installed

Updated Jul 6, 2023

Reported In

Software

  • Requirements Gateway

Issue Details

I am using Requirement Gateway and after I add certain document types, such as PDF or Excel,  in the Configuration/Project view, I notice that in the Management View tab and Rule Check section, I see:
JRE for KB.png
 
Error: Conversion Problem (
Java may not be installed.
Prerequisite:
Java Runtime Environment (JRE) 1.5 or higher version shall be installed in the computer. The use of Java Runtime Environment (JRE) 1.6 is recommended.
)

Solution

This error occurs when Requirements Gateway can not detect a compatible version of JRE. 
  1. [External]: Download Java for Windows. Although the error message says 1.6 is recommended, Java 1.7 and 1.8 also work without issue. 
  2. Restart your PC
  3. Open your Requirements Gateway project and reload all the files by going to File -> Reload All

If the issue persists, we need to check the configuration of the installed Java Runtime Environment. 
  1. Use Windows Search to search for and open Edit the system environment variables 
  2. In the pop-up, click the Environment Variables button towards the bottom of the pop-up
  3. In the bottom section labelled "System variables" search for the variable called Path.
  4. Select Path and click Edit
  5. Find the path that mentions Java and edit it to be the location of your JRE files
    1. This is usually C:\Program Files\Java\jre-1.8\bin for version 1.8 installs but could be different on your PC.
    2. You can search windows file explorer for java.exe to find where the files are installed
    3. Or, you can use Windows search to open Configure Java. On the Java tab, click View and the path column will show you where Java is installed
  6. Once the Path variable has been edited, click ok a few times to close down all of the open windows
  7. Restart your PC
  8. Check Requirements Gateway by opening your project and doing a File -> Reload All

Additional Information

To check if you have Java installed, and if so what version of the JRE is being used by default, follow these steps:
  1. Open up either Command Prompt or Windows PowerShell
  2. Type the command: Java -Version
If the response gives you a number, that is the version of Java you have installed and Windows is using.
If the command returns an error that the term 'Java' is not recognised, then you either do not have Java installed, or it is not configured properly and Windows is not locating it because the Path environment variable is not correctly set.