adoptium / adoptium/adoptium-support

Library path not working ?

Open
#448 24 comments 0 reactions 0 assignees View on GitHub
keep question
Dominant language
No language data
Stars
59
Forks
13
PR merge metrics
No merged PRs in 30d

Description

## Question

We are switching from AdoptOpenJDK OpenJ9 Java 8 to Temurin HotSpot Java 8. We are noticing that Hotspot does not use the Unix environment variable LD_LIBRARY_PATH and also ignores -Djava.library.path. This seems to be a significant difference between the two JVMs if it is not a bug. Have others reported this problem ?

Java version:

Paste the entire output of java -version.
java -version
openjdk version "1.8.0_312"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_312-b07)
OpenJDK 64-Bit Server VM (Temurin)(build 25.312-b07, mixed mode)

Your operating system and platform:
Linux version 3.10.0-862.3.2.el7.x86_64 #1 SMP Mon May 21 23:36:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported behavior on Linux with Temurin HotSpot Java 8, testing both LD_LIBRARY_PATH and -Djava.library.path with a native library, then compare the result with AdoptOpenJDK OpenJ9. Done means establishing whether this is an expected JVM difference or a Temurin distribution bug and recording the supported library-path behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.