crschnick / pdx_unlimiter

A smart savegame manager, editor, and toolbox for all current major Paradox Grand Strategy games.
https://discord.gg/BVE4vxqFpU
GNU General Public License v3.0
230 stars 23 forks source link

"Failed to launch JVM on startup" #113

Open Spacewolf4 opened 9 months ago

Spacewolf4 commented 9 months ago

Running fully updated Win11 on a new laptop. Have installed Pdx-U from latest installer after installing everything else needed. I click the desktop icon, a dialog box appears, stating "Failed to launch JVM on startup". Happens regardless of how often I do a clean install. How do I fix this? Screenshot 2023-12-13 074124

crschnick commented 9 months ago

Hmm ... can you try downloading the latest standalone zip version, extract it, and run runtime\\bin\\pdxu.bat in it?

Spacewolf4 commented 9 months ago

Extract just that file, or the whole zip archive?

On Wed, Dec 13, 2023 at 3:09 PM Christopher Schnick < @.***> wrote:

Hmm ... can you try downloading the latest standalone zip version, extract it, and run runtime\bin\pdxu.bat in it?

— Reply to this email directly, view it on GitHub https://github.com/crschnick/pdx_unlimiter/issues/113#issuecomment-1854632024, or unsubscribe https://github.com/notifications/unsubscribe-auth/BA7FBQRTGA6XOSJRBPM2JQDYJIDP5AVCNFSM6AAAAABATDO53KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJUGYZTEMBSGQ . You are receiving this because you authored the thread.Message ID: @.***>

Spacewolf4 commented 9 months ago

Extracted the whole zip file, did as instructed. It worked. Meanwhile the installer version did not.

On Wed, Dec 13, 2023 at 7:18 PM John Penta @.***> wrote:

Extract just that file, or the whole zip archive?

On Wed, Dec 13, 2023 at 3:09 PM Christopher Schnick < @.***> wrote:

Hmm ... can you try downloading the latest standalone zip version, extract it, and run runtime\bin\pdxu.bat in it?

— Reply to this email directly, view it on GitHub https://github.com/crschnick/pdx_unlimiter/issues/113#issuecomment-1854632024, or unsubscribe https://github.com/notifications/unsubscribe-auth/BA7FBQRTGA6XOSJRBPM2JQDYJIDP5AVCNFSM6AAAAABATDO53KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJUGYZTEMBSGQ . You are receiving this because you authored the thread.Message ID: @.***>

crschnick commented 9 months ago

Yeah the .exe it's just a small launcher to run the .bat file. Sadly I don't have a lot of control over the generated .exe, so I can't really tell you what went wrong there.

Is this your first time running pdxu or has it worked previously somewhere on another system?

Spacewolf4 commented 9 months ago

It worked previously on my old laptop, but that one has a bunch of hardware failures so isn't available for testing.

On Wed, Dec 13, 2023, 7:39 PM Christopher Schnick @.***> wrote:

Yeah the .exe it's just a small launcher to run the .bat file. Sadly I don't have a lot of control over the generated .exe, so I can't really tell you what went wrong there.

Is this your first time running pdxu or has it worked previously somewhere on another system?

— Reply to this email directly, view it on GitHub https://github.com/crschnick/pdx_unlimiter/issues/113#issuecomment-1854907894, or unsubscribe https://github.com/notifications/unsubscribe-auth/BA7FBQVOZRAKCVUXVB36Y2TYJJDFNAVCNFSM6AAAAABATDO53KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJUHEYDOOBZGQ . You are receiving this because you authored the thread.Message ID: @.***>

crschnick commented 9 months ago

If more reports of this issue come in, I could file a Java bug report for that. That is all I can do about this.

Spacewolf4 commented 9 months ago

Understood, thanks for that.

On Wed, Dec 13, 2023, 7:42 PM Christopher Schnick @.***> wrote:

If more reports of this issue come in, I could file a Java bug report for that. That is all I can do about this.

— Reply to this email directly, view it on GitHub https://github.com/crschnick/pdx_unlimiter/issues/113#issuecomment-1854910376, or unsubscribe https://github.com/notifications/unsubscribe-auth/BA7FBQWW3D6ZNPQRGCA2K33YJJDQ7AVCNFSM6AAAAABATDO53KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJUHEYTAMZXGY . You are receiving this because you authored the thread.Message ID: @.***>

thandley commented 6 months ago

I have encountered this issue today, after using the windows installer version successfully for over a year.

It happened after I tried to load my latest CK3 save and an unrelated bluescreen on Win 11 crashed the game. When I rebooted I can't get the installed version to start.

The standalone one works.

crschnick commented 6 months ago

@thandley You can try deleting C:\Users\<User>\AppData\Local\Programs\Pdx-Unlimiter\app\ and relaunching pdxu. That should trigger a new download.

crschnick commented 6 months ago

Although that definitely indicates that something on your hard drive has been corrupted if it worked before. The bluescreen might be related to that. Personally I would look into checking the disk for errors and preparing a replacement, you don't want it to die on you unexpectedly.

thandley commented 6 months ago

That worked, thanks!