"Could not find or load main class ?jar" Error When Configuring Oracle REST Data Services (ORDS) / APEX Listener (Doc ID 2037981.1)

Last updated on OCTOBER 27, 2016

Applies to:

Oracle REST Data Services - Version 1.1.0 and later
Information in this document applies to any platform.

Goal

 When trying to configure ORDS using the command "java -jar ords.war" as per the installation guide the following error appears:

Even if  java is installed, and the command is typed in the folder when ords resides, the error still appears.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms