farmerphd
Posts: 12
Joined: Thu Nov 09, 2023 2:29 pm

java.lang.UnsatisfiedLinkError

I am running a RunTime component that my *.exe needs. It is installed in the VFS\ProgramFilesX64 MSIX file system. The RunTime files include a Java (JRE) installation that it also needs to run.

I am getting an error in the RunTime logs that stops the *.exe app from running. Need help to understand how to fix this issue:

java.lang.UnsatisfiedLinkError: C:<msix package>: can't find dependent libraries.

The errors occur in a series of java and org.eclipse.osgi.intenal.framework.BundleContext*** areas of the code.

Any help is appreciated.
Thanks.
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: java.lang.UnsatisfiedLinkError

Hello Steve,

At a first glance, it looks like the error means that some dependencies are missing. I wasn't able to find much, but this Microsoft forum thread seems to specify that:

How to fix java.lang.UnsatisfiedLinkError


Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”