title: Could not load hsdis-amd64.dylib; library not loadable; PrintAssembly is disabled
body: <p>I wrote simple java program and I am getting A fatal error with Could not load hsdis-amd64.dylib; library not loadable; PrintAssembly is disabled. I tried to read several block but did not find solution. Can anyone please help me?
  Here is complete error message</p>
  <pre><code>A fatal error has been detected by the Java Runtime Environment:
  
  SIGFPE (0x8) at pc=0x0000000118e9ea48, pid=4481, tid=7683
  
  JRE version: Java(TM) SE Runtime Environment 18.9 (11.0.9+7) (build 11.0.9+7-LTS)
  Java VM: Java HotSpot(TM) 64-Bit Server VM 18.9 (11.0.9+7-LTS, mixed mode, tiered, compressed oops, g1 gc, bsd-amd64)
  Problematic frame:
  j  com.sun.tools.javac.comp.ConstFold.fold2(ILcom/sun/tools/javac/code/Type;Lcom/sun/tools/javac/code/Type;)Lcom/sun/tools/javac/code/Type;+877 jdk.compiler@11.0.9
   No core dump will be written. Core dumps have been disabled. To enable core dumping, try &quot;ulimit -c unlimited&quot; before starting Java again
  
  Compiled method (c1)     884  193       3       java.lang.System::getSecurityManager (4 bytes)
   total in heap  [0x0000000119455010,0x0000000119455338] = 808
   relocation     [0x0000000119455178,0x00000001194551a0] = 40
   main code      [0x00000001194551a0,0x0000000119455260] = 192
   stub code      [0x0000000119455260,0x00000001194552f0] = 144
   metadata       [0x00000001194552f0,0x00000001194552f8] = 8
   scopes data    [0x00000001194552f8,0x0000000119455300] = 8
   scopes pcs     [0x0000000119455300,0x0000000119455330] = 48
   dependencies   [0x0000000119455330,0x0000000119455338] = 8
  
  Could not load hsdis-amd64.dylib; library not loadable; PrintAssembly is disabled
  </code></pre>