Finally got this fixed. Ended up not needing to use a php, all i had to do was
cd /home/account/public_html/admin/files/ && java Autoingestion arguments
So if anyone is having the same issue, instead of trying to change the folder in the script, just change it in the command line, save yourself the migrane it’ll cause when all it’ll say is that it can’t find the class.