configure java in windows

  I know it's trivial, but it still took me more than 30 mins to make java work in my windows 10 machine. I would like to take down the most important learnings I've got:

1. do not add semi-colon (;) at the end of your JAVA_HOME environmental variable. 

when you set your JAVA_HOME, you add C:\Program Files\Java\jdk1.8.0_65 

do not add a semi-colon after!!!!

 

Yes, this is the bug that tortured me for 30 mins.

 

Then you edit your PATH by adding %JAVA_HOME%\bin (semi-colon is optional)

posted @ 2016-05-05 22:34  Rui Yan  阅读(644)  评论(0编辑  收藏  举报