Saturday, June 1, 2024

Warning When installing ORDS 23.x

When trying to install ORDS I got below message. You will see this message as Oracle recommends using a different configuration folder outside of ORDS.

2024-02-27T01:14:10.925Z INFO        Your configuration folder /oracle/ords is located in ORDS product folder.  Oracle recommends to use a different configuration folder

I have created a folder and resuming the ORDS install and received below warning.

ADB>java -jar ords.war install advanced
Warning: Support for executing: java -jar ords.war has been deprecated.
Please add ords to your PATH and use the ords command instead.
Run the following command to add ords to your PATH:
echo -e 'export PATH="$PATH:/oracle/ords/bin"' >> ~/.bash_profile

Start a new shell to pick up this change.

2024-02-27T01:14:10.925Z INFO Your configuration folder /oracle/ords is located in ORDS product folder. Oracle recommends to use a different configuration folder.


ORDS: Release 23.4 Production on Mon Feb 26 17:14:10 2024
Copyright (c) 2010, 2024, Oracle.

Configuration:
/oracle/ords/

Unknown command: ords install [advanced]


I realized that from ORDS 23.x+ the commands are changed using “java -jar ords.war” has been deprecated.

I would already suggest following Oracle documentation so that you have latest commands and updates.

https://docs.oracle.com/en/database/oracle/apex/index.html

I have come across an issue when using Oracle Java version lower than 11 and the installation fails with an error message.

Error: ORDS requires Java 11 and above to run.
Found Java version 1.

Please set JAVA_HOME to appropriate version and update PATH if necessary.

Make sure you are using Oracle Java version 11, or 17

Thanks
https://oracleracexpert.com

No comments:

Post a Comment