Manually Configuring the Location of the Java Executable
You can manually configure (or edit an existing configuration) the location of the Java executable. For example, if you upgrade your JRE, you must modify the scripts related to web services as described in this section.
• | If you are using UNIX, edit the webservices_server_location/jetty-9.4.35/jetty.sh file in a suitable text editor. |
• | If you are using Windows, edit the webservices_server_location\jetty-9.4.35\jetty.cmd file in a suitable text editor. |
Here, webservices_server_location refers to the path that you specified during installation to install Web Services Server files.
The following entry can be changed:
JAVA_HOME_BIN=pathname
where pathname is the path to your Java executable. For example, C:/Program Files/Java/jdk-11.0.6/bin/
.
You should also change the urladmin
script. On Windows, the command script is urladmin.cmd
; on UNIX, urladmin.sh
and it is located in webservices_server_location\jetty-9.4.35
.
The following entry can be changed:
JAVA_BIN=pathname
where pathname is the path to your java executable. For example, C:\Program Files\Java\jdk-11.0.6\bin\
.
You should also edit the Security Manager and Password Manager scripts in a similar manner as these both refer to Java.