I am on windows environment and using maven to compile my project. Although I just created the project and added the dependencies for various libararies.
As I added
When you add the JAVA_HOME environment variable, if there are spaces in the path you must wrap the whole thing in quotes.