OpenJDK Java program execution takes a long time due to LD_LIBRARY_PATH

Solution Unverified - Updated -

Issue

  • Simple execution of Java program takes a long time after using Dynatrace
  • Environment variable adds performance overhead in JAVA execution
  • Long Java program execution:
class HelloWorld{ 
public static void main(String args[]){ 
try{ 
System.out.println("Hello World");
}catch(Exception e){ System.out.println(e);} 
} } 

Environment

  • Red Hat Enterprise Linux (RHEL)
    • 7.x
  • OpenJDK 8
  • OpenJDK 11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content