Results 1 to 2 of 2
Like Tree1Likes
  • 1 Post By doWhile

Thread: freetype in java library

  1. #1
    Mohammed is offline Member
    Join Date
    Feb 2013
    Posts
    1
    Rep Power
    0

    Default freetype in java library

    Running a Line chart demo provided by jfreeChart library, using eclipse as IDE and java as a programming language, Iím getting the following exception :
    Java Code:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no freetype in java.library.path
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at sun.font.FontManagerNativeLibrary$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.font.FontManagerNativeLibrary.<clinit>(Unknown Source)
        at sun.font.SunFontManager$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.font.SunFontManager.<clinit>(Unknown Source)
        at sun.awt.PlatformFont.<init>(Unknown Source)
        at sun.awt.windows.WFontPeer.<init>(Unknown Source)
        at sun.awt.windows.WToolkit.getFontPeer(Unknown Source)
        at java.awt.Font.getPeer_NoClientCode(Unknown Source)
        at java.awt.Font.getPeer(Unknown Source)
        at sun.awt.windows.WComponentPeer._setFont(Native Method)
        at sun.awt.windows.WComponentPeer.setFont(Unknown Source)
        at sun.awt.windows.WWindowPeer.initialize(Unknown Source)
        at sun.awt.windows.WFramePeer.initialize(Unknown Source)
        at sun.awt.windows.WComponentPeer.<init>(Unknown Source)
        at sun.awt.windows.WCanvasPeer.<init>(Unknown Source)
        at sun.awt.windows.WPanelPeer.<init>(Unknown Source)
        at sun.awt.windows.WWindowPeer.<init>(Unknown Source)
        at sun.awt.windows.WFramePeer.<init>(Unknown Source)
        at sun.awt.windows.WToolkit.createFrame(Unknown Source)
        at java.awt.Frame.addNotify(Unknown Source)
        at java.awt.Window.pack(Unknown Source)
        at LineChartDemo6.main(LineChartDemo6.java:194)
    I remarked that the freetype is missing in the java.library.path. I know that the freetype should be added as a VM argument. But I want to know where "freetype" is located. Could anyone have enough time to respond to my question, please ?

    Thanks

    Habes Mohamed Raouf

  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,642
    Rep Power
    7

Similar Threads

  1. Replies: 0
    Last Post: 03-14-2012, 04:41 AM
  2. I want to put the native library in library path in mac os x
    By Hussain Ali in forum Advanced Java
    Replies: 2
    Last Post: 02-24-2010, 07:55 AM
  3. Replies: 3
    Last Post: 09-07-2009, 01:28 PM
  4. How to add jar library in java?
    By anilshelar in forum Advanced Java
    Replies: 10
    Last Post: 09-02-2009, 04:31 AM
  5. Tell me jar file for library library org.bouncycastle.cms
    By 82rathi.angara in forum New To Java
    Replies: 10
    Last Post: 09-09-2008, 05:11 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •