Sunday, March 4, 2012

How to write Webutil dlls in user's home directory

In the name of Allah, the most Beneficial, the most Merciful

In this article i will be describing "How to write Webutil dlls in user's home directory". Its need arises in Window 7 where normally users don't have write access to JRE directory and Webutil by default write its dlls in JRE\bin directory. These dlls are as follows.

1. jacob.dll
2. d2kwut60.dll
3. JNIsharedstubs.dll

Open the webutil.cfg file. You can find its location by finding the WEBUTIL_CONFIG parameter in default.env file. Look for "install.syslib.location.client.<os>" parameter in webutil.cfg file. Set this parameter to the directory where you want webutil to download its dlls. If you specify the absolute path then files will be download as indicated and if you specify relative path then files will be downloaded in users home directory + your specified path. Replace "<os>" tag with 0 in-case of windows and with 1 in-case of linux. Normally clients are on windows. You can specify values as follows.

install.syslib.location.client.0=webutil\syslib

Insha-Allah this will help and serve the purpose. For any corrections and improvements please suggest.


No comments:

Post a Comment