Apache 1.8.2 ant.bat release djava.source 1.7 djava target=1.7

Hello to all. A month already trying to pack my game. As soon as I turn on (For distrebution), the package throws an error C: /NVPACK/apache-ant-1.8.2/bin/ant.bat "release -Djava.source = 1.7 -Djava.target = 1.7 I tried to reinstall the Android APK, I also tried to pack the standard project, installed JAVA_HOME, unchecked (Enable Gradle instead of Ant) All this does not help me. Help