[jdk17u-dev] RFR: 8268974: GetJREPath() JLI function fails to locate libjava.so if not standard Java launcher is used

Sergey Nazarkin snazarki at openjdk.org
Fri Mar 8 09:23:58 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.

GHA failure: Risc-V build issue, unrelated.

-------------

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/2257#issuecomment-1985337865


More information about the jdk-updates-dev mailing list