3

Why 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! enter image description hereenter image description hereenter image description here

2 Answers 2

6

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.

Sign up to request clarification or add additional context in comments.

1 Comment

definitely that space before the C is a problem.
0

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.