Jump to content

[SOLVED] java.io.IOException: Cannot run program


tomynho

Recommended Posts

Edit: This has been solved thanks to @Koala, see post below for the solution.

 

 

Hello guys,

After downloading the latest bot update yesterday, I keep getting an error when launching the client - I will get to the "Loader" window, but once I click Launch, nothing happens and I get the following error in the terminal.

Does anyone have any idea what this could be? I'm running macOS Big Sur 11.0.1 and the latest version of Java.

 

Thanks!

 

[ERROR][l][26] Failed to start process

java.io.IOException: Cannot run program "/Applications/Epic/Contents/Resources/jre/bin/java": error=0, spawn failed

at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)

at com.epicbot.loader.w.l.d(p:76)

at com.epicbot.loader.w.l.doInBackground(p:179)

at javax.swing.SwingWorker$1.call(SwingWorker.java:295)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at javax.swing.SwingWorker.run(SwingWorker.java:334)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

Caused by: java.io.IOException: error=0, spawn failed

at java.lang.UNIXProcess.forkAndExec(Native Method)

at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)

at java.lang.ProcessImpl.start(ProcessImpl.java:134)

at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)

... 8 more

 

 

 

Edited by tomynho
Link to comment
Share on other sites

22 minutes ago, tomynho said:

This seems to be a permission issue with the whole folder, so the simplest solution seems to be using the Chmod command on your whole Epicbot folder (along with the Epicbot executable). 

Awesome!

Link to comment
Share on other sites

  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...