This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
i tried to install Tomcat and when i tried adding to my PATH variable it overwrote it instead. now i have no path. system restore fails to complete. the restore date is two days ago and i just made the change today. it suggests i run chkdisk but this is a new computer and i really doubt the drive is corrupt. i don't know what to do
Don't play with your computer. It's not a big deal if you are overwritten your path variable. I know some of your applications might stop working but still I believe you can survive with that system.
I don't trust windows restore activity so better thing is to go for some 3rd party software which can take system/drive backup regularly and provides you a fair chance to restore your computer.
For example:- I do use Norton Ghost.
hehe just unzipping the archive is what got me into this. from what have read since, they have a windows service version that has an installer. anyway the computer still "works" but i can't compile anything anymore since i have no PATH. damn windows anyway when they have a button that says edit it should edit not overwrite. i almost got caught by this when i had to set the path for the JDK but i noticed it in time that time.
I believe these are the basic directories included after clean Windows install. If you put in this, Windows as such should work. You undoubtedly had other programs installed and they might have problems if their directories are not on the path, but this could be solved on a case-by-case basis. One such case would be .NET framework (C:\Windows\Microsoft.NET\Framework\v4.0.30319 is also on my path).
If you have Windows installed in another directory than C:\WINDOWS (somewhat improbable nowadays), change the path accordingly.
Randall Twede wrote:hehe just unzipping the archive is what got me into this. from what have read since, they have a windows service version that has an installer. anyway the computer still "works" but i can't compile anything anymore since i have no PATH.
Hm, this doesn't sound like an issue with the system (environment) variable "Path" - If you haven't mentioned it explicitly earlier, I'd guess it to be a classpath issue.
Can you - just for sure - let us know how did you (in which programs/forms) overwrite the path variable?