PointlessSpike
New Member
- Joined
- Feb 14, 2014
- Messages
- 3
- Thread Author
- #1
I've got a problem with PATH that doesn't make much sense to me- something I've done on three different Windows 8 machines with the same result. I use Java as an example because it's a common thing to have installed. There's an PATH segment pointing to Java, and if you CMD "java" it knows what you're on about. But if you copy and paste the java.exe file file within that directory, call it "javatwo" and then CMD "javatwo", it fails. The PATH segment is pointed to the bin directory, so it should pick up everything within it.
Am I completely misunderstanding how environment variables work? I would have thought it would automatically pick it up.
The reason for my question is that I'm creating a PhoneGap app, and in order to create the android platform, I need ANT to be registered. But no matter what I do, the PATH won't pick it up as it should.
Am I completely misunderstanding how environment variables work? I would have thought it would automatically pick it up.
The reason for my question is that I'm creating a PhoneGap app, and in order to create the android platform, I need ANT to be registered. But no matter what I do, the PATH won't pick it up as it should.