开发者

Why is my java path not being recognized?

开发者 https://www.devze.com 2023-03-09 02:52 出处:网络
W开发者_StackOverflow社区hy is the javac.exe not being recognized?I should have the right path in my environment variable.Anyone have any clues?I\'ve already restarted the computer after editing my en

W开发者_StackOverflow社区hy is the javac.exe not being recognized? I should have the right path in my environment variable. Anyone have any clues? I've already restarted the computer after editing my environment variables, so it should be updated. Thanks!

Why is my java path not being recognized?

Why is my java path not being recognized?

Why is my java path not being recognized?


Try losing the spaces in the Path setting - ie the "; C:..." spaces. I've had problems with this placement of a space in paths before.


I'm searched many answers that suggest me to type in cmd:

set path = "%path%;c:program files\java\jdk1.7.0\bin"

but this is WRONG!

the right solution is that you leave "set" and just type

path = "%path%;c:program files\java\jdk1.7.0\bin"

P/s: of course you have to replace "jdk1.7.0" folder by your current java version folder

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号