I recently recovered a server from backup and am having problems running inventory. When I run "startinv" I get the following error:

Java: Environment variable zwsinstallpath, not found
Java: Environment variable zwspathd, not found (which repeats 10 more times)

Any help would be appreciated. Thanks.