Full Error message:
"Error: Failed to find javac.exe Java Compiler in Path and JDK installation folder in registry......Error: Failed to compile the Actions.java file......Please add the <JDK>\bin to the path and try again.
Warning: Extension java_int.dll reports error -1 on call to function ExtPerProcessInitialize
Error: Thread Context: Call to service of the driver failed, reason - thread context wasn't initialized on this thread."
The reason of this problem is that the javac.exe file is missing from the machine where the script is running.
In order to fix this problem during execution make sure of the following:
Go to the machine JDK installation folder (located under Program Files) and do a search for javac.exe if the file is missing you will have to reinstall the JDK.
If you don't find the JDK folder you will have to install it even if you have the JRE the problem will continue.