title: Unable to open UIAutomatorviewer on Mac High Sierra
body: <p>We have brand new MacBooks with High Sierra (10.13.6).
  Other system info:</p>
  
  <pre><code>JAVA Version: java version "11.0.1" 2018-10-16 LTS
  </code></pre>
  
  <p>Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)</p>
  
  <p>JAVA_HOME: /Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home</p>
  
  <p>When tried to open Android UIAutomatorViwer we're getting following error:</p>
  
  <pre><code>/Library/Android/sdk/tools/bin/uiautomatorviewer ; exit;
  </code></pre>
  
  <blockquote>
    <p>/Library/Android/sdk/tools/lib is not supported.  Use -classpath
    instead. Error: Could not create the Java Virtual Machine. Error: A
    fatal exception has occurred. Program will exit. logout Saving
    session... ...copying shared history... ...saving history...truncating
    history files... ...completed. Deleting expired sessions...111
    completed.</p>
  </blockquote>
  
  <p>More details:
  Java is at:  /usr/bin/java</p>
  
  <p><a href="https://i.stack.imgur.com/Ch5Yj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ch5Yj.png" alt="enter image description here"></a></p>