How to avoid "javac must be in the PATH" when starting RA WebServices ?

Discussion created by bobby_tamayo_automic on Feb 24, 2017
Latest reply on Sep 14, 2017 by Wolfgang_Brueckler_1288
How to avoid the following error message when starting RA WebServices?

In the Agent's log:
20170224/092251.073 -          javac must be in the PATH
20170224/092251.073 - U2013310 Failed to load RA Agent.

Please make sure to install JDK on the same machine where RA WebServices is installed and that the system variable PATH contains the bin path of the JDK.

For example:
Path=C:\Program Files\Java\jdk1.8.0_121\bin;...