I downloaded gradle and in the instruction it told me to add it to system variables so i did but i accidentally removed one of the paths. So when i tried to see what version of gradle i use it was saying error java home is not set(you can see in the image in the mingv terminal). My question is how can i set up my java home here is an image where is showing the paths that i have and on the right what its saying on terminal.
CodePudding user response:
Click on 'new'. Type "JAVA_HOME" inside variable name and type path for the java bin folder on variable value.
The result will be as below