"AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no freetype in java.library.path

Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no freetype in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860)
at java.lang.Runtime.loadLibrary0(Runtime.java:845)
at java.lang.System.loadLibrary(System.java:1084)
at sun.font.FontManagerNativeLibrary$1.run(FontManagerNativeLibrary.java:59)
at java.security.AccessController.doPrivileged(Native Method)
at sun.font.FontManagerNativeLibrary.<clinit>(FontManagerNativeLibrary.java:32)
at sun.font.SunFontManager$1.run(SunFontManager.java:338)
at java.security.AccessController.doPrivileged(Native Method)
at sun.font.SunFontManager.<clinit>(SunFontManager.java:334)
at sun.awt.PlatformFont.<init>(PlatformFont.java:60)
at sun.awt.windows.WFontPeer.<init>(WFontPeer.java:35)
at sun.awt.windows.WToolkit.getFontPeer(WToolkit.java:600)
at java.awt.Font.getPeer_NoClientCode(Font.java:453)
at java.awt.Font.getPeer(Font.java:444)
at sun.awt.windows.WComponentPeer._setFont(Native Method)
at sun.awt.windows.WComponentPeer.setFont(WComponentPeer.java:655)
at sun.awt.windows.WWindowPeer.initialize(WWindowPeer.java:173)
at sun.awt.windows.WFramePeer.initialize(WFramePeer.java:192)
at sun.awt.windows.WComponentPeer.<init>(WComponentPeer.java:763)
at sun.awt.windows.WCanvasPeer.<init>(WCanvasPeer.java:42)
at sun.awt.windows.WPanelPeer.<init>(WPanelPeer.java:73)
at sun.awt.windows.WWindowPeer.<init>(WWindowPeer.java:161)
at sun.awt.windows.WFramePeer.<init>(WFramePeer.java:175)
at sun.awt.windows.WToolkit.createFrame(WToolkit.java:391)
at java.awt.Frame.addNotify(Frame.java:477)
at java.awt.Window.show(Window.java:1031)
at java.awt.Component.show(Component.java:1651)
at java.awt.Component.setVisible(Component.java:1603)
at java.awt.Window.setVisible(Window.java:1014)
at Main.MainClass$1.run(MainClass.java:13)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:711)
at java.awt.EventQueue.access$000(EventQueue.java:104)
at java.awt.EventQueue$3.run(EventQueue.java:672)
at java.awt.EventQueue$3.run(EventQueue.java:670)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:681)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)

Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no freetype in java.library.path


最后换了个版本的JRE解决了,各位有知道出错根本原因的请不吝赐教哦~


你可能感兴趣的:(freetype)