Q:

How to include a directory to java.library.path on Linux/Debian?

I would like to add /usr/lib/oracle/11.2/client64/lib to java.library.path so it shows when running java -XshowSettings:properties - how can this be done?
I am running Linux/Debian

A:

You can do this via adding the containing directory to LD_LIBRARY_PATH like
**

export LD_LIBRARY_PATH = $LD_LIBRARY_PATH:/Desktop/pathOfContaininglibaryDirectory

**
 into your bashrc file.Then you need to refresh bashrc file via command 

source ~/.bashrc

then run you can run the java command(java -XshowSettings:properties) to see all the properties it will come under  user.dir

