Android device monitor freezes o
2019-08-14 本文已影响0人
路得自己走
Android device monitor freezes on Mac OS X
Any way to make it respond to mouse clicks?
image.pngDDMS
最近在学习JVM,需要运行jdk自带的命令行,需要在特定jdk目录下进行,所以需要查看jdk安装目录
1、打开终端,输入:/usr/libexec/java_home -V
注意:输入命令参数区分大小写(-v是不对的,必须是-V)
如图:3个红框内依次为:输入命令; 当前Mac已安装jdk目录; Mac默认使用的jdk版本;
image
Finally Fixed!!!. This problem occured to me when i was using jdk-8u161-macosx-x64, downgrading the jdk from jdk-8u161-macosx-x64 to jdk-8u151-macosx-x64 solved the issue for me.
- Remove your existing java jdk by running this command sudo rm -rf /Library/Java/*
- Download the jdk-8u151-macosx-x64 from http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.htmlyou need to sign up to oracle to download previous versions of jdk.
- intall jdk-8u151-macosx-x64 by just following the instructions.