selenium environment to build: Error: could not find java.dll error problem

Java environment set up, with reference to the other installation procedures, can be built.

 Problem: the following error message appears.

Error: could not find java.dll 
Error: Could not find Java SE Runtime Environment.

 The reason is: the environment variable conflict, configure the JAVA_HOME, path, after class_path environment variables, found the Oracle environment variables exist, points to another java.exe file.

See: https: //jingyan.baidu.com/article/29697b9166fe72ab21de3c6d.html 

Java environment variables need to adjust the order.





Guess you like

Origin www.cnblogs.com/wyf-349/p/11371544.html