Java is not installed

OS Name/Version: Windows

Product Name/Version: AMPService 2.4.1.2

Problem Description:
error message pops up when i try to change server type and download it," Download / Update failed : ‘java’ is not installed, or not available in PATH. Please make sure Java 8 is installed on your system. If you have just installed Java then you will need to restart AMP." as this is my first time using amp, i dont know how to configure anything. is there a way so it can find it? i have minecraft java and bedrock, so i dont know why its not working.


Steps to reproduce:

 * Step 1:open and manage instance
 * Step 2: use the search bar and type Sprigot and choose the one that says;" Server Type".
 * Step 3:change server type to spigot and click download/update.
 * Step 4: **Task Failed** **Download / Update failed : 'java' is not installed, or not available in PATH. Please make sure Java 8 is installed on your system. If you have just installed Java then you will need to restart AMP.**

Actions taken to resolve so far:

Well it’s telling you what’s wrong - you need to install Java and reboot. The recommended version can be found here: https://adoptium.net/