Workaround: Follow these steps:
Start a command prompt: Start -> Run ->, type "cmd" then click Ok button.
Run cacaoadm.bat stop.
Exit from the cmd prompt.
Adding portal_install_directory\lib into the path from Control Panel->System->Advanced Tab->Environment Variablesbutton.
Start a new command prompt: cacaoadm.bat start.
Now you can run autoclassify on both psadmin cli and psconsole.