码迷,mamicode.com
首页 > 编程语言 > 详细

configure java in windows

时间:2016-05-06 00:15:17      阅读:137      评论:0      收藏:0      [点我收藏+]

标签:

  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)

configure java in windows

标签:

原文地址:http://www.cnblogs.com/RuiYan/p/5463635.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!