Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How set Multiple java.library.path?

843829Aug 15 2003 — edited Aug 15 2003
Hi Guys,
Can anybody give me a quick hand about how to set Multiple java.library.path?
For example, I have two paths: /home/user/folder1
/home/user/folder2
I have tried to use the following command to set path, but it seems not working at all.
java -classpath=/home/user/somefolder -Djava.library.path=/home/user/folder1 -Djava.library.path=/home/user/folder2 classname
Cannot working at the same time, any ideas?
Thankx in advance.

Rui
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 12 2003
Added on Aug 15 2003
7 comments
10,352 views