Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > library.path VS class.path

Reply
Thread Tools

library.path VS class.path

 
 
Terracotta
Guest
Posts: n/a
 
      07-16-2007
we all know that "-D java.library.path=XXX" pass a library path to the
JVM when it starts
However what difference between "java.library.path" and
"java.class.path" ? , I know that any jar files which the program
used , must specify the path using
java.class.path. what is java.library.path used for ,many thanks

 
Reply With Quote
 
 
 
 
Gordon Beaton
Guest
Posts: n/a
 
      07-16-2007
On Mon, 16 Jul 2007 08:27:13 -0700, Terracotta wrote:
> what is java.library.path used for


Loading native code (e.g. .so and .dll files).

/gordon

--
 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments