java.lang.UnsatisfiedLinkError: /opt/icedtea6-bin-1.8.1/jre/lib/amd64/libfontmanager.so: libfreetype.so.6: cannot open shared object file: No such file or directory

iteye.com | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    gentoo下 JAVA生成图片的问题 以及JFreeChart的图片问题 - 加俊 - ITeye技术网站

    iteye.com | 9 months ago
    java.lang.UnsatisfiedLinkError: /opt/icedtea6-bin-1.8.1/jre/lib/amd64/libfontmanager.so: libfreetype.so.6: cannot open shared object file: No such file or directory

    Root Cause Analysis

    1. java.lang.UnsatisfiedLinkError

      /opt/icedtea6-bin-1.8.1/jre/lib/amd64/libfontmanager.so: libfreetype.so.6: cannot open shared object file: No such file or directory

      at java.lang.ClassLoader$NativeLibrary.load()
    2. Java RT
      BufferedImage.getGraphics
      1. java.lang.ClassLoader$NativeLibrary.load(Native Method)
      2. java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750)
      3. java.lang.ClassLoader.loadLibrary(ClassLoader.java:1667)
      4. java.lang.Runtime.loadLibrary0(Runtime.java:840)
      5. java.lang.System.loadLibrary(System.java:1047)
      6. sun.font.FontManagerNativeLibrary$1.run(FontManagerNativeLibrary.java:61)
      7. java.security.AccessController.doPrivileged(Native Method)
      8. sun.font.FontManagerNativeLibrary.<clinit>(FontManagerNativeLibrary.java:32)
      9. sun.font.FontManager$1.run(FontManager.java:233)
      10. java.security.AccessController.doPrivileged(Native Method)
      11. sun.font.FontManager.<clinit>(FontManager.java:230)
      12. sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:178)
      13. java.security.AccessController.doPrivileged(Native Method)
      14. sun.java2d.SunGraphicsEnvironment.<init>(SunGraphicsEnvironment.java:162)
      15. sun.awt.X11GraphicsEnvironment.<init>(X11GraphicsEnvironment.java:252)
      16. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      17. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      18. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      19. java.lang.reflect.Constructor.newInstance(Constructor.java:532)
      20. java.lang.Class.newInstance0(Class.java:372)
      21. java.lang.Class.newInstance(Class.java:325)
      22. java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
      23. java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1152)
      24. java.awt.image.BufferedImage.getGraphics(BufferedImage.java:1142)
      24 frames