JAVA_HOME incorrectly set fix

So I have a distributed application development assignment using Zookeeper, a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services. When I want to run the server on the windows, it says "JAVA_HOME incorrectly set". It's easy to fix this, just add the new environment variables with this method:
1. go to my computer properties, 
2. click advance system settings, 
3. environment variables, 
4. add new user variables named JAVA_HOME and fill the value with your JAVA_HOME directory, for example C:\Program Files\Java\jdk1.7.0_51. Don't forget to add double apostrophe (") to your path so it becomes like "C:\Program Files\Java\jdk1.7.0_51" because there's a space on the link.

Enjoy!

Comments

Popular Posts