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

    Linux Dual JVM enviroment?

    Scheduled Pinned Locked Moved FAF support (client and account issues)
    5 Posts 3 Posters 211 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.
    • JawBoneJ Offline
      JawBone
      last edited by

      Apparently, I have another program that requires zulu-11-amd64, ( java-11-openjdk-amd64) to run instead of java-17-openjdk-amd64. I discovered this when I tried to launch the program today. I had to re-install java 11 to get it to launch. (note: I suspect that this program would work with java 17 but it is not setup to use it). Therefore, my question is there a way I set FAF to run with java 17 and the other program to run with java 11?

      1 Reply Last reply Reply Quote 0
      • Brutus5000B Offline
        Brutus5000 FAF Server Admin
        last edited by

        So usually the JDK is backward compatible and it must be a super special app if only run in zulu rather than openjdk. anyway.

        Usually Java apps somehow rely on the JAVA_HOME variable to be set, so they find the java executable.
        Depending on what your "default" installation is, you could set a different JAVA_HOME explicitly before start.

        "Nerds have a really complicated relationship with change: Change is awesome when WE'RE the ones doing it. As soon as change is coming from outside of us it becomes untrustworthy and it threatens what we think of is the familiar."
        – Benno Rice

        1 Reply Last reply Reply Quote 0
        • JawBoneJ Offline
          JawBone
          last edited by

          yes... I will see about making a script to set the Java_Home variable. Thanks!

          1 Reply Last reply Reply Quote 0
          • JawBoneJ Offline
            JawBone
            last edited by JawBone

            Update 003: I just test played FAF for about an hour using zulu-11 in the co-op... but with just me against the AI. I did not notice any issues. That is FAF seemed to work fine now using zulu-11.... either that or FAF is still using java 17 with my system set to use zulu-11 as default.

            1 Reply Last reply Reply Quote 0
            • AskaholicA Offline
              Askaholic
              last edited by

              The game itself doesn’t use Java. Only the FAF launcher (client).

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