title: Uiautomatorviewer SWT exception
body: <p>Since StackExchange advised me to not ask for help or clarification on a <a href="https://stackoverflow.com/questions/48128648/uiautomatorviewer-is-not-working-throwing-error-that-swt-folder-does-not-exist#">previously existing post</a>, I am making a new thread.</p>
  
  <p>On Windows 10x64 I downloaded the <a href="http://download.eclipse.org/eclipse/downloads/drops4/R-4.7.2-201711300510/" rel="nofollow noreferrer">Eclipse SWT</a> (in second-to-last section of Downloads page), set my <code>ANDROID_SWT</code> environment variable to <code>&lt;download location&gt;\swt.jar</code>, and have attempted to run <code>uiautomatorviewer</code> from <code>cmd</code> again, only to receive the same error message as when I tried to use the SWT bundled with eclipse:</p>
  
  <pre><code>Error: A JNI error has occurred, please check your installation and try again
  Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Listener
      at java.lang.Class.getDeclaredMethods0(Native Method)
      at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
      at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
      at java.lang.Class.getMethod0(Class.java:3018)
      at java.lang.Class.getMethod(Class.java:1784)
      at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
      at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
  Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.widgets.Listener
      at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      ... 7 more
  </code></pre>
  
  <p>Has anyone else encountered this error, and if so, what was the root cause?</p>
  
  <p>Thanks in advance for your time and help!</p>