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
    Rep Power

    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$ Source)
        at Method)
        at sun.font.FontManagerNativeLibrary.<clinit>(Unknown Source)
        at sun.font.SunFontManager$ Source)
        at Method)
        at sun.font.SunFontManager.<clinit>(Unknown Source)
        at sun.awt.PlatformFont.<init>(Unknown Source)
        at<init>(Unknown Source)
        at Source)
        at java.awt.Font.getPeer_NoClientCode(Unknown Source)
        at java.awt.Font.getPeer(Unknown Source)
        at Method)
        at Source)
        at Source)
        at Source)
        at<init>(Unknown Source)
        at<init>(Unknown Source)
        at<init>(Unknown Source)
        at<init>(Unknown Source)
        at<init>(Unknown Source)
        at Source)
        at java.awt.Frame.addNotify(Unknown Source)
        at java.awt.Window.pack(Unknown Source)
        at LineChartDemo6.main(
    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 ?


    Habes Mohamed Raouf

  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Rep Power

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