Defining your version of JRE for Signature Scanner
The Java Runtime Environment (JRE) is included with the download of the Signature Scanner. As a result, you do not need to configure the JRE or the JAVA_HOME environment variable.
However, there may be situations that require you to use your version of JRE, for example you have self-signed certificates stored in a preferred version of Java or your company policy prohibits using the version of the JRE included with Signature Scanner. In these instances, you can set the BDS_JAVA_HOME environment variable to define the installed version of JRE Signature Scanner should use. The Signature Scanner will then use this version when scanning components.
To configure the BDS_JAVA_HOME environment variable on Windows:
-
Access the System Properties dialog box. For example, from the Control Panel, click System > Advanced System Settings.
-
Select the Advanced tab and click Environment Variables.
-
In the Environment Variables dialog box, under System Variables, click New.
-
Enter the following information:
Variable name: BDS_JAVA_HOME
Variable value:
<path to JRE>
-
Click OK.
To configure the BDS_JAVA_HOME environment variable on Linux or Mac OS X:
-
Start a terminal session.
-
At the command line, type
export BDS_JAVA_HOME=<path to JRE>
-
Close the terminal session.