My Oracle Support Banner

[Java SE] Java Throws "error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory" on Startup (Doc ID 1935788.1)

Last updated on JUNE 28, 2024

Applies to:

Java SE JDK and JRE - Version 7 and later
Linux ARM 32-bit VFP SoftFP ABI
Linux x86
Linux ARM 32-bit VFP HardFP ABI
Linux x86-64

Symptoms

"java -version" quits with the error message "error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory" when trying to start the JVM.

Symptom 1

The problem is there if it is run under a normal user or if it is run under the root user


 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
 Symptom 1
 Symptom 2
Changes
 Scenario 1 (Changes for Symptom 1)
 Scenario 2 (Changes for Symptom 2)
 Scenario 3 (Changes for Symptom 2)
Cause
 Cause for Scenario 1
 Cause for Scenario 2
 Cause for Scenario 3
Solution
 Solution for Scenario 1
 Solution 1.1
 Solution 1.2
 Solutions for Scenario 2
 Solution 2.1
 Solution 2.2
 Solution for Scenario 3
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.