Basic configurations:
Docker container for My PHP instance, I installed Centos and inside java, then Selenium but when I try to start it, it gives me an error.
[root@6f0958965698 ~]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
[root@6f0958965698 ~]# java -jar /opt/selenium-server-standalone.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/openqa/grid/selenium/GridLauncherV3 : Unsupported major.minor version 52.0
[root@6f0958965698 ~]# java -version
java version "1.7.0_191" / OpenJDK Runtime Environment (rhel-2.6.15.4.el7_5-x86_64 u191-b01)/ OpenJDK 64-Bit Server VM (build 24.191-b01, mixed mode)
- I tried first with the version http://selenium-release.storage.googleapis.com/3.9/selenium-server-standalone-3.9.0.jar
- and then with: http://selenium-release.storage.googleapis.com/3.2/selenium-server-standalone-3.2.0.jar
Same mistake.
Do you have any suggestions?