[jdk17u-dev] RFR: 8268974: GetJREPath() JLI function fails to locate libjava.so if not standard Java launcher is used
Goetz Lindenmaier
goetz at openjdk.org
Fri Mar 1 08:28:56 UTC 2024
On Thu, 29 Feb 2024 12:06:15 GMT, Sergey Nazarkin <snazarki at openjdk.org> wrote:
> I'd like to backport this changes as it fixes some custom launchers issue. Fix applies cleanly.
>
> The functionality was tested with the new test and manually
>
> cd ~/tools/bin
> cp -r ~/jdk .
> cp jdk/bin/java jdk/lib
> jdk/lib/java -version
>
>
> Without the patch JVM can't start
>
> Error: could not find libjava.so
> Error: Could not find Java SE Runtime Environment.
@snazarkin, why are the GHA tests failing? Next time, I might just remove the fix-request label instead of asking. Testing is a prereq for labeling.
-------------
PR Comment: https://git.openjdk.org/jdk17u-dev/pull/2257#issuecomment-1972733215
More information about the jdk-updates-dev
mailing list