https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
m

Michael Paus

12/13/2023, 9:06 AM
I have a report from a client who cannot run an installed packaged compose desktop app on his Windows 11 box. He gets a popup showing:
Copy code
Text: Failed to launch JVM
 Symbol: Red circle with white "X"
The strange thing is that the same MSI installer has been successfully used by me and others. Does anybody have an idea what could be causing such a behaviour? It’s also strange that the app has written some normal output to the log file, so the JVM must have been started already.
k

Konstantin Tskhovrebov

12/13/2023, 9:57 AM
could you ask them to run the app from a terminal and send an output?
m

Michael Paus

12/13/2023, 11:13 AM
I just forwarded you question and I am now waiting for a reply. I also vaguely remember to have seen a report somewhere which claims that having a JVM installed side by side (in the same root folder) to a packaged app does cause problems. I can’t remember the details though and I also don’t remember where I have seen that. Does anybody remember that too?
@Konstantin Tskhovrebov Just got the reply from the client: “Running it in the Windows 11 Terminal (normal mode or admin does not matter) prints out nothing.”
k

Konstantin Tskhovrebov

12/18/2023, 2:49 PM
m

Michael Paus

12/18/2023, 3:46 PM
Yes, that’s the issue I vaguely remembered. Thanks a lot but a solution for the problem still does not seem to be in sight or is it?
2 Views