Slow Response or Hang with a 'java -version' Command on Linux systems

(Doc ID 2319214.1)

Last updated on OCTOBER 22, 2017

Applies to:

Java SE JDK and JRE - Version 6 and later
Linux x86
Linux x86-64

Symptoms

The java -version command normally returns quickly , almost instantaneously.  It may have a slow response or hang with an output similar to that below:

 

Changes

 

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