Forum Discussion
AndrewMason
Jul 27, 2021Copper Contributor
Packing Apps with built in JRE...
I have a couple of applications that I am trying to capture that install their own JRE however after creating the MSIX they complain that the JRE can't be found and suggest setting JAVA_HOME. ---...
Aug 13, 2021
While I suspect that there is more at play here, you can use the PSF to provide virtual environment variables like JAVA_HOME as container-specific environment variables (this is the purpose of the EnvVarFixup).
But I'm also guessing that you'll find the need for the registry fixup - you'd need to procmon the the access_denied registry entries --, the FileRedirectionFixup, and possibly DynamicLibraryFixup.
But I'm also guessing that you'll find the need for the registry fixup - you'd need to procmon the the access_denied registry entries --, the FileRedirectionFixup, and possibly DynamicLibraryFixup.
AndrewMason
Aug 16, 2021Copper Contributor
Thanks TIMOTHY_MANGAN. I have tried the EnvVar fixup but it doesn't seem to have any effect on the behaviour of the app, possible because more than one fix up is needed as you suggest.
Is it possible to set/add to the PATH env var with the EnvVar fix up as that is where the app is adding the "missing" paths at runtime?