I would like to set up a dev environment on my Windows 7 machine so i can create a spring-boot application. However, i'm having a hard time installing Spring-boot on windows.
This is what i have done so far: -Downloaded spring-boot CLI zip package and unzipped in C drive -JAVA_HOME variable set to c:\Program Files (x86)\Java\jdk1.6.0_14 -SPRING_HOME variable set to C:\spring-1.3.0.BUILD-SNAPSHOT -Added SPRING_HOME/bin to PATH environment variable
It says to add symlink to auto-completion script but i do not know how to do that. Not surprisingly when i test installation with "spring --version" command, it fails.
Anybody has done this before?
Thanks!
Instructions for setup are bit misleading for path setup.
For Windows, Environment variables section, need use %SPRING_HOME%\bin
referencing in place of SPRING_HOME/bin
for the system to pick up SPRING_HOME
environment variable.
Where SPRING_HOME
is an environment variable for specifying path to the spring boot directory.
E.g. :- C:\Program Files\Spring\spring-1.2.7.RELEASE
Note: bin
folder is not included in the SPRING_HOME
.
I was able to get it up, here are screen grabs of process.
Alternatively you can have the path setup directly without SPRING_HOME, just append the environment variable path
with directory path of your "spring.bat" file C:\Program Files\Spring\spring-1.2.7.RELEASE\bin;
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With