ORDS service script 22.x does not pick the correct Java
(Doc ID 2890261.1)
Last updated on AUGUST 17, 2022
Applies to:Oracle REST Data Services - Version 22.1 and later
Information in this document applies to any platform.
There is already a FMW 126.96.36.199 installation on the server, with default JDK8 in /usr/bin/java
Since ORDS 22.2 requires JDK11, this has been installed in a custom directory
ORDS installed with rpm:
sudo rpm -i ords-22.2.0-6.el7.noarch.rpm
ords --config /etc/ords/config install
sudo systemctl enable ords
ORDS starts with manual command:
nohup /usr/local/bin/ords serve &
Trying to start ORDS with systemctl :
sudo systemctl start ords
fails with :
Error: ORDS requires Java 11 and above to run.
Found Java version 8.
Please set JAVA_HOME to appropriate version and update PATH if necessary.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document