Skip to content

OpenJDK 11.0.2 does not seem to support maven download of selenium-java jars #6993

@formynet

Description

@formynet

🐛 Bug Report

A clear and concise description of what the bug is.

OpenJDK 11.0.2 does not seem to support maven download of selenium-java jars in Windows 10 OS.

To Reproduce

1.download openjdk 11.0.2 and set up environment variables.
2.make sure java environment is correctly setup by executing any java program.
3.create a new selenium maven project in windows 10 operating system.
4. add below dependency for selenium in valid maven pom.xml
<dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-java</artifactId> <version>3.141.59</version> <scope>test</scope> </dependency>

  1. Clean install the maven project.

Actual
selenium jars are not downloaded.
User gets below errors in console.
[ERROR] error reading C:\Users<userid>.m2\repository\org\seleniumhq\selenium\selenium-api\3.141.59\selenium-api-3.141.59.jar; zip END header not found
[ERROR] error reading C:\Users<userid>.m2\repository\org\seleniumhq\selenium\selenium-remote-driver\3.141.59\selenium-remote-driver-3.141.59.jar; zip END header not found

Expected behavior

Selenium jars should be downloaded in local m2 folder.

Environment

OS: Win 10
Browser: Not applicable.
Browser version:
Browser Driver version:
Language Bindings version: Java 3.141.59
Selenium Grid version (if applicable): Not applicable.
@shs96c

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions