0% found this document useful (0 votes)
13 views5 pages

Install and Configure Java On Mac Machine

The document provides a guide for installing and configuring Java on a Mac machine for Java/Selenium WebDriver automation testing. It includes steps for downloading Java, verifying the installation, setting environment variables, and refreshing them. The document emphasizes the importance of proper configuration for successful testing.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views5 pages

Install and Configure Java On Mac Machine

The document provides a guide for installing and configuring Java on a Mac machine for Java/Selenium WebDriver automation testing. It includes steps for downloading Java, verifying the installation, setting environment variables, and refreshing them. The document emphasizes the importance of proper configuration for successful testing.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

JAVA/SELENIUM :

Testing Framework

Install and Configure Java on Mac


Machine
LevelUp360 : [email protected]
Java/Selenium WebDriver Automation Testing

➢ Download the Java.


https://www.oracle.com/java/technologies/downloads

➢ Install Java 21/17/11.

➢ Verify Installed version.

LevelUp360 : [email protected]
Java/Selenium WebDriver Automation Testing

➢ Configuring Java Environment Variables:


○ Set JAVA_HOME

➢ List Java Packages :


ls -l /Library/Java/JavaVirtualMachines

➢ Verify Java Version


java --version

➢ Create BASH_Profile.
○ vim .bash_profile
○ export JAVA_HOME=$(/usr/libexec/java_home)
LevelUp360 : [email protected]
Java/Selenium WebDriver Automation Testing

➢ Configuring Java Environment Variables:


○ Set JAVA_HOME

➢ Refresh Env Variable


○ source .bash_profile
○ echo $JAVA_HOME

LevelUp360 : [email protected]
Thank You...
Don’t be the Same! Be Better!!!

LevelUp360 : [email protected]

You might also like