Skip to Content
Former Member
Oct 12, 2006 at 07:06 AM



I want to change the java.library.path property of VM permanently, thus I used the java command with -D option just like below, with no new-line entered:

java -Djava.library.path=/usr/java14_64/jre/bin:/usr/java14_64/jre/bin/classic:/usr/java14_64/jre/bin:/usr/sap/XID/SYS/exe/run:/usr/sap/XID/SYS/exe/runU:/db2/db2xid/sqllib/lib:/usr/lib:/opt/IBM/cicstg/bin

but after doing this, the following infomations appears in console, just like I've just enter "java":

Usage: java [-options] class [args...]

(to execute a class)

or java [-jar] [-options] jarfile [args...]

(to execute a jar file)

where options include:

-cp -classpath <directories and zip/jar files separated by :>

set search path for application classes and resources


set a system property


enable verbose output

-version print product version

-showversion print product version and continue

-? -help print this help message

-X print help on non-standard options

-assert print help on assert options

And the last path - /opt/IBM/cicstg/bin still hasn't been added to java.library.path property.

Any ideas? Thanks!