BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

specifying path for native code

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder IDE
View previous topic :: View next topic  
Author Message
matt
Guest





PostPosted: Thu Feb 22, 2007 3:00 am    Post subject: specifying path for native code Reply with quote



I have Java code that is dependant on third party native code (dll). How do I specify the path to the native code?
Back to top
Kevin Dean [TeamB]
Guest





PostPosted: Thu Feb 22, 2007 4:38 am    Post subject: Re: specifying path for native code Reply with quote



matt wrote:

Quote:
I have Java code that is dependant on third party native code (dll). How
do I specify the path to the native code?

The system property java.library.path specifies where to search for DLL's.
It defaults to the Windows path with perhaps some additional directories specific to the Java environment. You can specify your own path on the command line with the -D option.

--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/

Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html
Back to top
Paul Nichols[TeamB]
Guest





PostPosted: Thu Feb 22, 2007 9:13 am    Post subject: Re: specifying path for native code Reply with quote



matt wrote:
Quote:
I have Java code that is dependant on third party native code (dll). How do I specify the path to the native code?

In addition to what Kevin said, you could use a property file to point
to the DLL. Extremely useful, if you are going to deploy to other machines.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder IDE All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.