UIAutomatorviewer throws error

bro switch to JAVA jdk1.8.0_231.jdk, it will work then