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 NOVEMBER 05, 2016

Applies to:

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

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

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms