Does appium support open jdk

I’m using open jdk 11. Will appium java client support open jdk

Yes
‐----------------

When I’m trying to run basic login on iOS app it is failing as it is taking the name of mobile element and searching it as id

I initially thought the error is because of open jdk

Please check below error

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 51.287 sec <<< FAILURE!

Validating login with valid credentials(Login Scenarios) Time elapsed: 20.99 sec <<< ERROR!

org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of Located by By.id: usernameInputField (tried for 10 second(s) with 500 milliseconds interval)

    at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:95)

    at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272)

    at BasePage.waitForVisibility(BasePage.java:34)

    at BasePage.clear(BasePage.java:43)

    at LoginPage.enterUserName(LoginPage.java:37)

    at stepDefinitions.LoginSteps.userEntersUsernameAndPassword(LoginSteps.java:23)

Below is the mobileelement

@iOSXCUITFindBy(accessibility = "Username")

private MobileElement usernameInputField;

we do not know your app. to have any info we need also page source of problem screen.