Running FAF on Manjaro, missing webview-patch.jar
-
Hello,
I've been trying to install FAF for some time now. The Java Launcher starts fine, but it can't join or create a game. Here is the log: https://pastebin.com/q4UtK77U.
It seems that the problem is around this:Error opening zip file or JAR manifest missing : lib/webview-patch.jar
Error occurred during initialization of VM
agent library failed to init: instrumentI've verified that lib/webview-patch.jar is indeed in the right place.
$ ls lib/webview-patch.jar
lib/webview-patch.jarNow I've gotten stuck, as I'm not quite sure what caused this or how to fix it, I've not been able to find a solution online.
Using Java openjdk 11, followed the instructions at https://wiki.faforever.com/index.php?title=Setting_Up_FAF_Linux, using native steam and manually installed the client.Any ideas? Thanks in advance.
-
How do you start it?
-
$ ./downlords-faf-client-1.1.9/
-
That works? Is it not ./downlords-faf-client-1.1.9
-
https://stackoverflow.com/questions/56873670/java-agent-library-failed-to-init-instrument is what comes up if I google.
So what I suspect is that the game does not launch for whatever reason the error is then normally shown in a web bowser. And we patch the web browser with a so called java agent. Our java agent is called webview-patch. So the java agent that patches the web browser is given to java vm at the start via command line. The stackoverflow article suggests a wrong use of the comandline parameter. The command line parameters are defined in the installer script you are executing. You could try search for the parameter there and play arround with it.
-
Our command line parameter in the script goes like this :
"-javaagent:lib/webview-patch.jar"
-
Looks correct. How about you use the new Release candidate with java 14 and see if it magically disappears there...https://github.com/FAForever/downlords-faf-client/releases/tag/v1.2.0-RC1