| View previous topic :: View next topic |
| Author |
Message |
matt Guest
|
Posted: Thu Feb 22, 2007 3:00 am Post subject: specifying path for native code |
|
|
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
|
Posted: Thu Feb 22, 2007 4:38 am Post subject: Re: specifying path for native code |
|
|
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
|
Posted: Thu Feb 22, 2007 9:13 am Post subject: Re: specifying path for native code |
|
|
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 |
|
 |
|