For v13.3 patch 8 the readme says
HOW TO INSTALL PATCH:
------------------------
1. Back up all files and the database on the target system.
2. On NSA server, extract package installer jar into a temporary directory:
jar xvf package.jar /clarity/temp
or
jar xvf package.jar D:\clarity\temp
2.Stop all local nsa, app and bg services (database and reports must stay running):
service stop nsa app bg
3. From temp directory, execute installer script and follow instructions on screen:
install.bat
or
install.sh
4. Start all services:
service start all
which fairly simple and straightforward
If you have a working live system you path and java_home variables should be properly set and you should not get any errors about those.
Open the command prompt as the admin or at least as a user of the admin group before you start.
If the Clarity folder the install script suggests is not correct then change it to the correct one and the same for all the suggestions the install script makes.