Try adding the following code instead, since a binary of Java8 is included with the test host:
/usr/libexec/java_home -v 1.8
Hi hclmobiletests ,
Those are the standard mode settings, No we currently don't provide a direct mechanism for customer to be able to select java versions.
Using Custom Mode settings is the only way to do that today.(Which you have already verified works)
hi, Could you share sample custom mode settings script that install jdk1.8 and do the export with me?
I tried this one but it didnt work.
Appium Java Test NG tests are not running in the AWS Device FarmAccepted Answerasked 9 months ago
Java8 for iOS Appium TestngAccepted Answerasked 2 years ago
Unable to connect to another machine from iOS using RemoteWebDriverasked 2 years ago
Device Farm - cannot find elements in iOS testsasked 2 years ago
AWS Device Farm Appium 1.22.0 iOS 15 support for Appium python test?Accepted Answerasked 8 months ago
Device Farm iOS Runtime not foundasked 2 months ago
Device Farm: Appium iOS test never launches app, WebdriverAgent shows error "Failed to get automation session"asked a year ago
AWS Device Farm iOS No performance data foundasked 6 months ago
Java8 for iOS Appium testng testasked 2 years ago
Configure Amplify Cognito in Android and iOS to switch programmatically between USERNAME_PASSWORD and CUSTOM_AUTHENTICATIONasked a year ago