Verify the following:
1: Use a compatible version of Java to compile the SDK code.
2: Set CAPKIHOME environment variable path. You can do it as follows:
# export CAPKIHOME
You can also install a regular Web Agent on the Linux box and then it will set the CAPKIHOME path.