How to Add (Java) Packages to Xcode

Filed under Java + Xcode on Wednesday, 18 April, 2007 12:53 pm

xcodejava

I have started writing Java programs at uni and i'm required to add a Java package called B102.jar to the compiler.
Well, the university doesn't support anyting other than Windows so it was a pain trying to figure out how to use Xcode and use their 'B102.jar' package. Anyway to add a .jar package to Xcode for compilation, all you need to do is add your .jar package to:

/System/Library/Java/Extensions/

That's it. Now when you type import B102.*; for example, it will compile correctly.

1 Comment »

Comment by ralph

September 24, 2009 @ 7:38am

Hey bro, thnx you really made mi day!!!!

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

8) :wink: :P :D :) :o :? :( :x