I want to install jdk1.8 using a maven script and I want to set the enviornment variable for MAC and Linux as well.
Can a maven script be used, if so please let me know what script I need to write?
We cannot install Jdk using maven script as maven is a jdk based tool to run maven script jdk needs to be installed on your system