Unable to launch a game via the FAF client on ubuntu

0

Hi,

I've followed the instructions here https://wiki.faforever.com/index.php?title=Setting_Up_FAF_Linux#Java_Downlord.27s_Client and have repeated them again just in case, but I seem to be getting this error and cannot figure out why. Would anyone be able to throw their 2 cents?

Regards,

java.util.concurrent.CompletionException: com.github.nocatch.NoCatchException: java.io.IOException: Cannot run program "/home/divyesh/Games/downlords-faf-client-1.3.0/run" (in directory "/home/divyesh/.faforever/bin"): error=2, No such file or directory
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2137)
at com.faforever.client.fa.relay.ice.IceAdapterImpl.lambda$start$8(IceAdapterImpl.java:229)
at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: com.github.nocatch.NoCatchException: java.io.IOException: Cannot run program "/home/divyesh/Games/downlords-faf-client-1.3.0/run" (in directory "/home/divyesh/.faforever/bin"): error=2, No such file or directory
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at com.github.nocatch.NoCatch.wrapException(NoCatch.java:61)
at com.github.nocatch.NoCatch.noCatch(NoCatch.java:104)
at com.github.nocatch.NoCatch.noCatch(NoCatch.java:82)
at com.faforever.client.game.GameService.lambda$startGame$42(GameService.java:671)
at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714)
... 4 more
Caused by: java.io.IOException: Cannot run program "/home/divyesh/Games/downlords-faf-client-1.3.0/run" (in directory "/home/divyesh/.faforever/bin"): error=2, No such file or directory
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1142)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1073)
at com.faforever.client.fa.ForgedAllianceService.launch(ForgedAllianceService.java:131)
at com.faforever.client.fa.ForgedAllianceService.startGame(ForgedAllianceService.java:76)
at com.faforever.client.game.GameService.lambda$startGame$41(GameService.java:671)
at com.github.nocatch.NoCatch.noCatch(NoCatch.java:100)
... 7 more
Caused by: java.io.IOException: error=2, No such file or directory
at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:313)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:244)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1109)
... 12 more

0
  • I think you either skipped the "Copy the Steam RUN script" section, or the file is not executable.
  • Note that latest client version is 1.4.0 🙂