Installing on Linux with Java 15
-
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?
-
adopt open has archived releases https://adoptopenjdk.net/archive.html
-
Dang! Thanks for the amazingly quick response! Alright, so now I got binaries, and I have no idea what to do with those.
-
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.
-
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.
-
-
-
There are all the steps u need to do. Follow manual installation
-
$ ./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.
-
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 failedjava.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 omittedI guess it wasn't meant to be lol.
-
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!