[jdk11u-dev] RFR: 8268974: GetJREPath() JLI function fails to locate libjava.so if not standard Java launcher is used
Goetz Lindenmaier
goetz at openjdk.org
Thu Mar 7 08:05:56 UTC 2024
On Thu, 29 Feb 2024 11:02:01 GMT, Sergey Nazarkin <snazarki at openjdk.org> wrote:
> I'd like to backport this changes as it fixes some custom launchers issue. The backport is not clean:
> 1. [8234821](https://bugs.openjdk.org/browse/JDK-8234821) was not backported to jdk11, so *java_md_common.c* need manual adjusting.
> 2. The test can't be started as it depends on whole jpackage test [pack](https://bugs.openjdk.org/browse/JDK-8268974). So I've removed it.
>
> The functionality was tested with simple
>
> cd ~/tools/bin
> cp -r ~/jdk .
> cp jdk/bin/java jdk/lib
> jdk/lib/java -version
>
>
> Without the patch it show the error
>
> Error: could not find libjava.so
> Error: Could not find Java SE Runtime Environment.
>
>
> jdk_tier2 is OK as well
@snazarkin you need a review before requesting approval
-------------
PR Comment: https://git.openjdk.org/jdk11u-dev/pull/2578#issuecomment-1982841457
More information about the jdk-updates-dev
mailing list