OS Commands Run Through JVM Fail With Java.io.IOException
(Doc ID 1473621.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Database - Enterprise Edition - Version 184.108.40.206 and later
Information in this document applies to any platform.
OS is on Windows and trying to call an executable "ls -la" which actually performs the function of dir command in Command Prompt.
While trying to call an OS command through the Java class loaded into the Database, getting the below error:
The executable in question can be anything not just the one mentioned above.
The path to the "ls.exe" executable is already added to the PATH environment variable.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!