Updating Agent on unix errors:
Using Java at /home/xxxxxxx/xxxxxx/jre
Error: Could not find libjava.so
Error: Could not find Java 2 Runtime Environment.
This usually occurs when the bit-width of Java does not match the kernel
Cause was the first update failed and created the folder /jre. The folder jre did not contain any objects.
Go to /home/xxxxxxx/xxxxxx(this is example go to users path)
Delete the jre folder.
rm -r jre