FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    Running FAF on Manjaro, missing webview-patch.jar

    Scheduled Pinned Locked Moved FAF support (client and account issues)
    7 Posts 2 Posters 335 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      MrFood
      last edited by

      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: instrument

      I've verified that lib/webview-patch.jar is indeed in the right place.

      $ ls lib/webview-patch.jar
      lib/webview-patch.jar

      Now 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.

      1 Reply Last reply Reply Quote 0
      • L Offline
        left_boy
        last edited by

        How do you start it?

        Soon™️

        1 Reply Last reply Reply Quote 0
        • M Offline
          MrFood
          last edited by

          $ ./downlords-faf-client-1.1.9/

          1 Reply Last reply Reply Quote 0
          • L Offline
            left_boy
            last edited by

            That works? Is it not ./downlords-faf-client-1.1.9

            Soon™️

            1 Reply Last reply Reply Quote 0
            • L Offline
              left_boy
              last edited by

              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.

              Soon™️

              1 Reply Last reply Reply Quote 0
              • L Offline
                left_boy
                last edited by left_boy

                Our command line parameter in the script goes like this :

                "-javaagent:lib/webview-patch.jar"
                

                Soon™️

                1 Reply Last reply Reply Quote 0
                • L Offline
                  left_boy
                  last edited by left_boy

                  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

                  Soon™️

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post