Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 24, 2010, 03:59 AM   #1
Hussain Ali
macrumors newbie
 
Join Date: Feb 2010
Adding external libraries through Terminal

hello
I m newly using Mac os x
I want to set libraries through terminal
I am creating a program in java to extract data from an image
for that purpose i ve installed Asprise OCR library's package
it having two main files
1-aspriseOCR.jar file
2-libAspriseOCR.jnilib file


and i want to run my Demo program through terminal

how can i run my program



when i run program it gives an error
Quote:
com.util..... package not found
Hussain Ali is offline   0 Reply With Quote
Old Feb 24, 2010, 05:56 AM   #2
Cromulent
macrumors 603
 
Cromulent's Avatar
 
Join Date: Oct 2006
Location: The Land of Hope and Glory
Add the JARs to your CLASSPATH either through your Ant / Maven build script or manually.
__________________
Neural Advance - Mac OS X, UNIX and Windows Development
Last.fm Profile | Extreme Metal Reviews
MP 4x 2.66Ghz Xeons / 6GB RAM / 640GB + 500GB + 750GB + 1TB HDDs / ATI Radeon 4870 / iPad 3
Cromulent is offline   0 Reply With Quote
Old Feb 24, 2010, 12:04 PM   #3
chown33
macrumors 601
 
Join Date: Aug 2009
Quote:
Originally Posted by Cromulent View Post
Add the JARs to your CLASSPATH either through your Ant / Maven build script or manually.
Or add a Class-Path element to the manifest of the jar containing the app, which refers to the library jars by relative path.
http://en.wikipedia.org/wiki/Manifest_file

For the detailed spec, google keywords: java manifest specification
chown33 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
iPhoto 2011 Library Upgrade Error gtr053 Mac Applications and Mac App Store 2 Aug 15, 2011 12:19 AM
iTunes Library Storage/Backup- external HD, RAID or new Mac? VaatiKaiba Buying Tips and Advice 0 Jun 21, 2011 03:44 AM
Terminal going crazy: Library error? starmelts Mac Basics and Help 2 Apr 8, 2011 06:46 AM
MPlayer - using through Terminal cb911 Mac Applications and Mac App Store 2 Sep 10, 2004 10:13 PM
Routine maintanence through terminal damson34 General Mac Discussion 2 Nov 28, 2003 03:20 PM


All times are GMT -5. The time now is 05:25 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC