标签:
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)
标签:
原文地址:http://www.cnblogs.com/RuiYan/p/5463635.html