Java8 for iOS Appium Testng


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.


Edited by: sbuyuran on Jan 25, 2021 10:30 PM

asked 3 years ago250 views
1 Answer
Accepted Answer


In your yaml file, use the following to switch to JDK8 prior to executing your Appium Java tests:

  • export JAVA_HOME=/usr/libexec/java_home -v 1.8
  • java -version

Let me know if you need anything else.


answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions