The new Android Studio Bundle comes with its own JRE (under <ANDROID_STUDIO>/jre , and this is the recommended JRE to work with (look at the file / project structure / SDK location).
Similarly, a simple option is to create a symbolic link under the monitor tools so that the JRE matches Android Studio, even if you receive an update.
For MAC or Linux:
#ln -s <ANDROID_STUDIO>/jre <SDK>/tools/lib/monitor-x86_64/jre
32 bit:
#ln -s <ANDROID_STUDIO>/jre <SDK>/tools/lib/monitor-x86/jre
Then the ddms monitor works in both directions: from the Studio IDE (Tools / Android / ADM) or on the command line ( <SDK>tools/./monitor )
source share