-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add JDK tools support #8
Comments
Java also wants other libraries which may not be captured by ldd e.g.:
|
Java search paths can be obtained with:
|
Getting a handle on the issue:
Changing the rpath (via Testing methods such as the following on a local system
currently yields
so there are additional files missing. |
If the JDK tool version has to match the in-container JRE version, then the hierarchy created by oc-inject could include a symlink to in-container JRE's files/directories. |
Successful:
Executable requires both lib and jre/lib directories. |
Pushed a working implementation (tested on jps, jstack, jstat), Turns out that Java programs do not like to be loaded via ld-linux-x86-64.so.2. Since the container presumably has a Java program and therefore libc, |
Not doing so caused the 'automatic' (libjli.so based) opts.java enablement to fail.
JDK tools (jps, jstack, jstat) require a special case to locate the correct version of libjli.so (NB there may be multiple versions on one system):
The text was updated successfully, but these errors were encountered: