title: Error while running dx or d8 tool for Android
body: <p>I am trying to build Android apps manually from the command line.<br>
  But, whenever I am running dx.bat command which is located inside the Android SDK build-tools directory, I am always getting an error. Whichever option I give, I always get the same error. While running <code>dx --help</code>, I got this error :<br>
  <code>-Djava.ext.dirs=E:\.android\SDK\build-tools\29.0.2\lib is not supported.  Use -classpath instead.
  Error: Could not create the Java Virtual Machine.
  Error: A fatal exception has occurred. Program will exit.</code></p>
  
  <p>When I had Android Studio, I didn't get any such problems. What mistake am I doing and how to get the dx.bat file to work right?</p>