Help with Asterisk-Java in crontab

To start the agi-server I run the following command in /opt/asterisk-java

This works fine.

Now I need is to run this through the crontab.
I tested with the following

But apparently I do not get the same functionality.
I know the problem is how to run java-cp “parameters”

Thanks for your help.

I tested and I think I found the solution.
Executing the java left as follows:

[quote=“lucasdgr”]I tested and I think I found the solution.
Executing the java left as follows:

this did not work.
Can not get the same functionality as: