25.02.2015 Views

Introducing Spring Framework

Introducing Spring Framework

Introducing Spring Framework

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix A ■ Installing Tools<br />

6. Next, you are going to modify the Path variable, where you will be adding the binary<br />

path of the Java installation (C:\Program Files\Java\jdk1.8.0_05\bin) at the front of<br />

the existing value. In other words, this path should be at the beginning of any value of<br />

the Path variable. It’s important to enclose the path with double quotes and end it with<br />

a semicolon. This is important because if there are spaces in the Program Files folder,<br />

and if you don’t enclose it within quotes the Windows OS will truncate it and it won’t<br />

able to find the executables. Figure A-11 shows that the path value will be “C:\Program<br />

Files\Java\jdk1.8.0_05\bin”;.<br />

Figure A-11. Path Variable<br />

7. Last, you need to test that the installation and the environment variables are correct. Open<br />

a DOS command window and execute the following commands:<br />

C:\> echo %JAVA_HOME%<br />

C:\> java –version<br />

After executing the above commands you should not get an error and you should see<br />

something similar to Figure A-12.<br />

297

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!