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

    Installing on Linux with Java 15

    Scheduled Pinned Locked Moved I need help
    11 Posts 3 Posters 734 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
      MedliNight
      last edited by

      I am currently on Ubuntu 20.04.2 LTS

      Lutris fails to install and seems to give an error that doesn't exist anywhere but on a lutris github in its code, so that is out. I eventually tried to install faf manually. I get an error saying Java 15 is required. Java 15 doesn't exist so I got Java 16.

      "No suitable Java Virtual Machine could be found on your system.
      The version of the j must be 15.
      Please define INSTALL4J_JAVA_HOME to point to a suitable JVM."

      So where do I go from here? How do I obtain Java 15?

      1 Reply Last reply Reply Quote 0
      • S
        Sheikah
        last edited by

        adopt open has archived releases https://adoptopenjdk.net/archive.html

        1 Reply Last reply Reply Quote 0
        • M
          MedliNight
          last edited by

          Dang! Thanks for the amazingly quick response! Alright, so now I got binaries, and I have no idea what to do with those.

          1 Reply Last reply Reply Quote 0
          • S
            Sheikah
            last edited by

            Yeah I just know where to get the older javas I don't have linux so would just follow the install instructions. Others may be able to help more.

            1 Reply Last reply Reply Quote 0
            • M
              MedliNight
              last edited by

              No idea, I been trying for hours. I'll have to wait till compatiblility with Java 16, if it happens. Literally been trying all day to get this to work, following Oracle's "tutorial" and everyone else's 8 year old post. There is probably a solution, but I'm not seeing it.

              1 Reply Last reply Reply Quote 0
              • S
                Sheikah
                last edited by Sheikah

                https://forum.faforever.com/topic/1657/linux-install-script-lutris

                https://forum.faforever.com/topic/12/linux-support

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

                  https://wiki.faforever.com/index.php?title=Setting_Up_FAF_Linux

                  Soon™️

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

                    There are all the steps u need to do. Follow manual installation

                    Soon™️

                    1 Reply Last reply Reply Quote 0
                    • M
                      MedliNight
                      last edited by

                      $ ./downlords-faf-client
                      No suitable Java Virtual Machine could be found on your system.
                      The version of the JVM must be 15.
                      Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.

                      Still nothing. I placed binaries, I've followed so many tutorials. Nothing seems to fix it.

                      1 Reply Last reply Reply Quote 0
                      • M
                        MedliNight
                        last edited by

                        Alright. Finally managed to somehow get it to at least launch, buut

                        $ ./downlords-faf-client
                        12:36:45.134 [main] DEBUG com.faforever.client.preferences.PreferencesService - Logger initialized
                        2021-06-05 12:36:46.047 ERROR 14951 --- [JavaFX-Launcher] o.s.boot.SpringApplication : Application run failed

                        java.lang.IllegalStateException: java.lang.IllegalStateException: Logback configuration error detected:
                        ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Failed to create parent directories for [/home/midnight/.faforever/logs/client.log]
                        ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - openFile(/home/midnight/.faforever/logs/client.log,true) call failed. java.io.FileNotFoundException: /home/midnight/.faforever/logs/client.log (No such file or directory)
                        ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE_ICE_ADVANCED] - Failed to create parent directories for [/home/midnight/.faforever/logs/iceAdapterLogs/advanced-ice-adapter.log]
                        ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE_ICE_ADVANCED] - openFile(/home/midnight/.faforever/logs/iceAdapterLogs/advanced-ice-adapter.log,true) call failed. java.io.FileNotFoundException: /home/midnight/.faforever/logs/iceAdapterLogs/advanced-ice-adapter.log (No such file or directory)
                        ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE_MAP_GENERATOR] - Failed to create parent directories for [/home/midnight/.faforever/logs/map-generator.log]
                        ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE_MAP_GENERATOR] - openFile(/home/midnight/.faforever/logs/map-generator.log,true) call failed. java.io.FileNotFoundException: /home/midnight/.faforever/logs/map-generator.log (No such file or directory)
                        ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE_IRC] - Failed to create parent directories for [/home/midnight/.faforever/logs/irc.log]
                        ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE_IRC] - openFile(/home/midnight/.faforever/logs/irc.log,true) call failed. java.io.FileNotFoundException: /home/midnight/.faforever/logs/irc.log (No such file or directory)
                        at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:327)
                        at org.springframework.boot.context.logging.LoggingApplicationListener.initialize(LoggingApplicationListener.java:281)
                        at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEnvironmentPreparedEvent(LoggingApplicationListener.java:239)
                        at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:216)
                        at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:203)
                        at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:196)
                        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:170)
                        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:148)
                        at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:82)
                        at org.springframework.boot.SpringApplicationRunListeners.lambda$environmentPrepared$2(SpringApplicationRunListeners.java:63)
                        at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
                        at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:117)
                        at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:111)
                        at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:62)
                        at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:362)
                        at org.springframework.boot.SpringApplication.run(SpringApplication.java:320)
                        at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:144)
                        at com.faforever.client.FafClientApplication.init(FafClientApplication.java:110)
                        at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:824)
                        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
                        at java.base/java.lang.Thread.run(Thread.java:832)
                        Caused by: java.lang.IllegalStateException: Logback configuration error detected:
                        ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Failed to create parent directories for [/home/midnight/.faforever/logs/client.log]
                        ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - openFile(/home/midnight/.faforever/logs/client.log,true) call failed. java.io.FileNotFoundException: /home/midnight/.faforever/logs/client.log (No such file or directory)
                        ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE_ICE_ADVANCED] - Failed to create parent directories for [/home/midnight/.faforever/logs/iceAdapterLogs/advanced-ice-adapter.log]
                        ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE_ICE_ADVANCED] - openFile(/home/midnight/.faforever/logs/iceAdapterLogs/advanced-ice-adapter.log,true) call failed. java.io.FileNotFoundException: /home/midnight/.faforever/logs/iceAdapterLogs/advanced-ice-adapter.log (No such file or directory)
                        ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE_MAP_GENERATOR] - Failed to create parent directories for [/home/midnight/.faforever/logs/map-generator.log]
                        ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE_MAP_GENERATOR] - openFile(/home/midnight/.faforever/logs/map-generator.log,true) call failed. java.io.FileNotFoundException: /home/midnight/.faforever/logs/map-generator.log (No such file or directory)
                        ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE_IRC] - Failed to create parent directories for [/home/midnight/.faforever/logs/irc.log]
                        ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE_IRC] - openFile(/home/midnight/.faforever/logs/irc.log,true) call failed. java.io.FileNotFoundException: /home/midnight/.faforever/logs/irc.log (No such file or directory)
                        at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:175)
                        at org.springframework.boot.logging.AbstractLoggingSystem.initializeWithSpecificConfig(AbstractLoggingSystem.java:66)
                        at org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:57)
                        at org.springframework.boot.logging.logback.LogbackLoggingSystem.initialize(LogbackLoggingSystem.java:131)
                        at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:315)
                        ... 20 common frames omitted

                        I guess it wasn't meant to be lol.

                        1 Reply Last reply Reply Quote 0
                        • M
                          MedliNight
                          last edited by MedliNight

                          Alright, so I found a broken link file called .faforever, deleted it and so far it works now! Seems like it couldn't create files because it already sort of existed. I found out by trying to create it myself and not letting me name it and searched for the file by name. It was just broken. Delete it and rerun it. Sweet! Thanks for the help everyone!

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