Java: command not found when running uploadfromdb.sh for reports

Java: command not found when running uploadfromdb.sh for reports

Hi, I'm trying to execute the shell script to upload my database to Zoho, but I'm running into this error when I run it:

/ZohoReports/UploadTool/bin/UploadFromDB.sh: line 17: java: command not found

Any ideas?

Thanks,

-James