java.lang.RuntimeException: java.io.IOException: Error running exec(). Command: [rexx.sh] Working Directory: /data/local/oorexx Environment: null

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

If you're trying to make a splash screen, check this tutorial: https://goo.gl/zQyCYe

,
Expert tip

You might be using the wrong way to add commands to the command line. Try using commandDownloader.add("command");

Solutions on the web

via Stack Overflow by K.E.
, 1 year ago
java.io.IOException: Error running exec(). Command: [rexx.sh] Working Directory: /data/local/oorexx Environment: null
java.io.IOException: Permission denied
at java.lang.ProcessManager.exec(Native Method)
at java.lang.ProcessManager.exec(ProcessManager.java:209)
at java.lang.Runtime.exec(Runtime.java:173)
at java.lang.Runtime.exec(Runtime.java:246)
at org.oorexx.oorexxforandroid.org.oorexx.oorexxforandroid.exec.RexxExecuter.runSingleCommand(RexxExecuter.java:127)
at org.oorexx.oorexxforandroid.org.oorexx.oorexxforandroid.exec.RexxExecuter.runTheRexxImage(RexxExecuter.java:24)
at org.oorexx.oorexxforandroid.MainActivity.onCreate(MainActivity.java:41)
at android.app.Activity.performCreate(Activity.java:5231)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
at android.app.ActivityThread.access$800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)

Users with the same issue

8 times, 6 months ago
13 times, 1 year ago
7 times, 1 year ago
Once, 1 year ago
4 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.