RE: Java: using third-party library?

  • From: "Sina Bahram" <sbahram@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Tue, 27 Apr 2010 14:06:27 -0400

You have to make sure to pass the rellavent  jars, including dot, as in a 
period, into your compiler such that it can locate those
things ... Similarly, it will need them at runtime so you'll need to do the 
same thing.

Take care,
Sina

-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx 
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Alex Hall
Sent: Tuesday, April 27, 2010 1:00 PM
To: programmingblind@xxxxxxxxxxxxx
Subject: Java: using third-party library?

Hi all,
I am using Android, which is in Java, so essentially I am using Java.
I have the ASmack library, an XMPP library made for Android, and I am using ANT 
to compile my project. I get the message that "the
package does not exist", then 55 more errors, all of which are about classes 
and objects I use from the ASmack library, which cannot
be located.
How do you use a .jar file as a package in Java? Thanks.

--
Have a great day,
Alex (msg sent from GMail website)
mehgcap@xxxxxxxxx; http://www.facebook.com/mehgcap __________ View the list's 
information and change your settings at
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts: