title: How to install JDK and JRE
body: <p>I am attempting to run an application (monitor.exe) for monitoring things going on with my device when running a test program, but I am getting the following error message:</p>
  
  <pre><code>A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Monitor. No Java virtual machine was found after searching the following locations:
  C:\Users\Datu1\AppData\Local\ANdroid\Sdk\tools\lib\monitor-x86_64\jre\bin\javaw.exe
  javaw.exe in your current PATH
  </code></pre>
  
  <p>Can I install via Android Studio or should I go to the Oracle website? Is it a single installation package for both the JRE and JDK? Also I have tried running command line commands to see if the JDK is installed as well as searching folders and it is not installed.</p>