Windows : Install Gradle Batch Script(*.BAT)

  1. c:
  2. cd c:\
  3. mkdir gradle
  4. cd gradle
  5. wget --no-check-certificate https://services.gradle.org/distributions/gradle-2.14-all.zip
  6. unzip gradle-2.14-all.zip
  7. rm -f gradle-2.14-all.zip
  8. cd gradle-2.14
  9. cd bin
  10. setx PATH "%PATH%;%cd%"
  11. refreshenv
  12. gradle --version

Please make sure you have installed choletey and GNU unix-utils for Windows and go theough this article if you dont have any of above commands preinstalled :

Batch(*.bat) Script : Install Spring-Boot CLI on Windows 7

  1. mkdir C:\spring
  2. cd C:\spring
  3. C:
  4. wget --no-check-certificate http://repo.spring.io/release/org/springframework/boot/spring-boot-cli/1.1.4.RELEASE/spring-boot-cli-1.1.4.RELEASE-bin.zip

    REM "Latest version = 2.7.3.RELEASE . So, url http://repo.spring.io/release/org/springframework/boot/spring-boot-cli/2.7.3/spring-boot-cli-2.7.3-bin.zip should work."
  5. unzip spring-boot-cli-1.1.4.RELEASE-bin
  6. rm -f spring-boot-cli-1.1.4.RELEASE-bin.zip
  7. cd spring-1.1.4.RELEASE
  8. setx SPRING_HOME "%cd%"
  9. refreshenv
  10. cd bin
  11. setx PATH "%PATH%;%cd%"
  12. refreshenv
  13. spring --version

Please make sure you have installed choletey and GNU unix-utils for Windows and go theough this article if you dont have any of above commands preinstalled :