|
-
Oct 3rd, 2006, 11:45 AM
#1
Thread Starter
Member
Java changes CMD?
Hello.
As you may have seen from a previous post a day or 2 ago, i've recently started playing with java. I'm not sure whats gone on, but since ive installed java it seems my CMD.exe doesnt recognise any commands at all apart from java related ones.
For example "ping" "dir" "net send" "help" (and all the others)
give me a reply message of: "*command here*" is not recognized as an internal or external command, operable program or batch file."
Would there be any link between java installation and command prompt usage? Bearing in mind that i've just been doing Console based java.
Thanks a bunch
Regards
Mathew
-
Oct 3rd, 2006, 12:11 PM
#2
Re: Java changes CMD?
It seems that the "Path" variable in the Environment variables table has been wiped out or it only contains the path to java.exe command
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Oct 3rd, 2006, 12:12 PM
#3
Re: Java changes CMD?
By the way, JDK setup will never do that. So there must be something else perhaps you installed java along with a poor IDE
Last edited by ComputerJy; Oct 3rd, 2006 at 12:46 PM.
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Oct 3rd, 2006, 12:18 PM
#4
Thread Starter
Member
Re: Java changes CMD?
 Originally Posted by ComputerJy
By the way, JDK setup will never do that. So there must be something else perhaps you installed java along with a poo IDE
The "poo IDE" could be the reason.....iGRASP. But you mentioned the Environment path, i think i was told somewhere at some point to remove what was in this and replace it with the path to the java files, which i did.
Could you tell me what SHOULD be in the path box please?
Thanks for the help 
Regards
Mathew
-
Oct 3rd, 2006, 12:45 PM
#5
Re: Java changes CMD?
First of all, you shouldn't have done that. You could have appended the java path to the Path variable without removing everything else, just add ";" before the new path
To reactivate the ping, net,... etc add "%SystemRoot%\system32;" to the Path var
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Oct 3rd, 2006, 03:22 PM
#6
Thread Starter
Member
Re: Java changes CMD?
 Originally Posted by ComputerJy
First of all, you shouldn't have done that. You could have appended the java path to the Path variable without removing everything else, just add ";" before the new path
To reactivate the ping, net,... etc add "%SystemRoot%\system32;" to the Path var
fantastic, worked a treat! Cheers for you time and effort +rating , I really appreciate it.
Regards
Matt
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|