Maven script to install jdk and set enviornment variable

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?

+3


source to share


1 answer


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



+4


source







All Articles