Failure to Launch
-
Hello,
I was trying to upgrade to the latest version of TripleA, but the new edition 2.5. ... won't launch.
The only thing that happens is the "Soldier, airplane, and TA" symbol appears on the Desktop and when the mouse passes over it I see a perpetual loading spinner.
I'm running Java JTK 17.0.9 and Linux Mint Debian Edition Faye. My TripleA 1.9.0.0 launches great, but the lobby has been closed for that version.
Oh, when I look the processes running I don't see anything that I recognize as TripleA running.
Any tips would be appreciated. Thank you.
-
@yorcash
Im a Windows only user.When I install multiple versions of TripleA I put the TripleA version in the folder and shortcut.
So I add -2.5.22294 to both folder and shortcut when prompted.
I hope this works for your Linux version.
-
Hi Yorcash,
It's interesting you posted this yesterday. I am having the exact same issue on my MX Linux 23 (Debian) system. I am installing triple-a on a new system running JTK 17.0.9 and all I see is the splash image on the screen and the spinning cursor. If I click off the image to another window it disappears and there are no Triple A processes in my task manager.
Here is a copy of my ~/TripleA/error.log file:
java.lang.ClassNotFoundException: org.triplea.game.client.HeadedGameRunner
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:80)
at com.install4j.runtime.launcher.UnixLauncher.start(UnixLauncher.java:66)
at install4j.org.triplea.game.client.HeadedGameRunner.main(Unknown Source)
Uncaught error fetching image:
java.lang.NullPointerException: Cannot invoke "java.net.URL.openConnection()" because "this.url" is null
at java.desktop/sun.awt.image.URLImageSource.getConnection(URLImageSource.java:103)
at java.desktop/sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:113)
at java.desktop/sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:264)
at java.desktop/sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:212)
at java.desktop/sun.awt.image.ImageFetcher.run(ImageFetcher.java:176)Maybe someone over there will recognize this error and can help.
If we get no response here, perhaps we can try posting to their Git page as well.
-
@redwood1 yea I'd just go ahead and make an issue at git
https://github.com/triplea-game/triplea/issues
ping @asvitkine there I think he's @Myrd here but Idk how active he is here.
-
-
Thanks for taking the handoff and running with the ball. Just from your short posts I can tell that your Linux knowledge is a few levels above mine, so thank you.
Hopefully there is a solution to be found.
-
@yorcash have you tried the pre release ? Do you get the same results ?
-
Not really a Linux expert either, but an idea comes to my mind:
I see you guys run Java 17 on your systems.
I seem to remember that TripleA requires Java 11. At least the (Windows) downloads come with a bundled Java 11, that is not used system-wide, but only with the TripleA installation it is bundled with.Isn't the "TripleA_2xxxxx_unix.sh" bundled with Java 11, too?
Maybe the issue is about Java incompatibility .....
-
As @beelee suggested try a pre release, as 2.5 will not be fixed, found here;
https://github.com/triplea-game/triplea/releases -
@thedog well hopefully it is fixed. 2.5 is the only active lobby. I suspect Panther is right about it being a java version thing but ...
-
@redwood1 so just a little more info. I checked and i'm on 19 so you could try that
java -version
openjdk version "19.0.2" 2023-01-17
OpenJDK Runtime Environment (build 19.0.2+7-Ubuntu-0ubuntu322.04)
OpenJDK 64-Bit Server VM (build 19.0.2+7-Ubuntu-0ubuntu322.04, mixed mode, sharing) -
@beelee @panther I like the java version approach as well. I just updated to JRE 21 and no change. I will uninstall/reinstall Triple A and see if that changes anything. I'll also try JRE 11 and JRE 19 to see if they make any difference.
I did not realize a new version was coming out until I started asking these questions. I'm excited to try it and will be moving to that as soon as I can. However, I am in the middle of a game with my group of friends and I'm afraid to open a save file from 2.5 using 2.6.
I can also set up a VM to run Ubuntu or an older version of Debian....it's just a PITA.
I'll post back here once something works or I'm out of ideas. Thanks again for all the support so far.
-
@redwood1 right arm pita is right lol. I tried mint a while back and hated it. Overall i'm pleased with ubuntu but have considered arch linux.
Anyway, one of the cool things about 2.6 is that 2.5 saves work on it. Not vice versa though.
Here's a 2.5 save you can try
or I guess you could just make your own. Don't need a new map that way
-
Just to update this thread (@Yorcash): I got it working.
I removed all versions of java (jdk and jre) from my computer, then ran the Triple A install script again. This time it starts up and tells me that the Java Version is 11. It appears that Java 11 is bundled with the installer after all.
I think the issue is with JRE 17 and JRE 21 (which are the only two I was able to get working on my Debian 12 computer).It's not a pretty solution, but It's better than a VM. We'll see what else breaks on my machine now.
-
Great job. I'm a little apprehensive to attempt that solution on my main machine. Will try again when the new update arrives.
Until then, I think I'll try to run the current 2.5 update on an older laptop that still has Windows installed. I just hate going back to Windows after enjoying Linux so much, if you know what I mean.
Thanks to everyone for your help.