Android package problem

I want to package my project for android, but I get this error in the picture. I installed everthing inside the SDK Manager.

Your Java Environment does not seem to be properly set.

Check the environment variables in advanced system settings and also the Android SDK paths in your project.