Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

in which directory i should keep the "library" ?

Status
Not open for further replies.

satellite03

IS-IT--Management
Dec 26, 2003
248
IN
in which directory i should keep the "library" ?


System.loadLibrary("library"); // its a dll file

 
Well, that strongly depends on what type of library it is. I don't think there's any restriction as long as it's in the library path of the JVM.

Cheers,

Dian
 
Hi, i read the link.

can you tell java.library.path and Windows system PATH variable are same ?

i can find out the PATH variable. its in the control panel.

but where is the java.library.path ? how can i see that ?
 
so, it means i can not see/view "java.library.path". i can not know where does it live. but i can use it with a -D flag like
-Djava.library.path="C:/Projects/bhavaya/lib" this way.

 
You can get it with System.getProperty("java.library.path").

Cheers,

Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top