Sunday, January 9, 2022

Environment setup on MAC for selenium

 Installation of java on mac:

-------------------

google: download jdk 8

download the dmg file from the oracle link

double click and go witj default steps.


setting up environment variables:

terminal > open .bash_profile


export JAVA_HOME=/Library/Java/JavaVirtualMachine/jdk1.8.0_191.jdk/Conents/Home

export PATH=$PATH:$JAVA_HOME/bin


Installation of eclipse:

---------------------

google:eclipse download

eclipse ide for Java EE Developers

download dmg file and install with default steps

it will be available in the applications section to launch


maven installation:

--------------

google: Download maven

download zip file and extract it

open .bash_profile


export MAVEN_HOME=/Users/testuser/Downloads/apache-maven-3.6.0

export PATH=$PATH:$JAVA_HOME/bin:....:$MAVEN_HOME/bin


test: terminal -->mvn --version


No comments:

Post a Comment