well dude, there's your problem. You're trying to switch to a relative dir, and C:\WINDOWS\java doesn't exist. c:\java does. So what you need to type is:
C:\WINDOWS>cd c:\java