From: <php...@li...> - 2006-03-19 15:02:44
|
Hi, > Why can not I specify a directory instead of the > jars ? In some JVM (most java VM but not Mono) you can use e.g.: java -Djava.ext.dirs=/dir1:/dir2 -jar JavaBridge.jar But you cannot set this option in the php.ini file. However, on windows the following could be used: [java] java.java="javaw -Djava.ext.dirs=..." On Unix you could use a .sh wrapper, for example: [java] java.wrapper=/home/jostb/bin/startBackend.sh And the startBackend.sh script could look like: #!/bin/sh java=$1; shift addOptions="-Djava.ext.dirs=..." exec $java $addOptions $* Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |