App Entwicklung für Mobile, Web, Desktop

Android Studio gradle error

  How to fix this error: You have to create this as an enviroment varibable: Variable: _JAVA_OPTIONS Value: -Xmx512M under windows cmd

under linux terminal