You need to set path for Java in your system to make Anaplan connect run. Navigate to My computer settings-> advanced system settings -> environment variables and create a system variable and user variable.
Create a new user variable and copy the path of Java until bin folder from where you have installed in your PC.
Secondly create a System variable and copy the path until jdk folder. Hope this helps.