...

View Full Version : Import of my own



Scriptr
12-27-2011, 03:44 AM
How do I import the library found here (http://sourceforge.net/projects/jfacebookiml/), or one like it, into a java project? For those who will not/currently cannot download or decompile, I don't know what it is worth, but these are the first several lines



package net.sf.jfacebookiml;

import java.util.Hashtable;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import org.apache.log4j.Logger;
import org.json.JSONException;
import org.json.JSONObject;


I think only the package is important, but I included everything just in case.

Obviously, I am not claiming that as my own library; I want to be able to do it with my own libraries, but more pressingly I need to be able to do it with that.

Fou-Lu
12-27-2011, 07:45 AM
Don't need to download it; it specifies the name as a .jar.
Just import it in through either your ide's external resources for the jar and it will be added when compiled, or add it to the -cp when executing the javac. You still need the import, but you must also provide the location to find it. There is no reason to extract the class files themselves.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum