Hi,
firstly, i'm a bit of a newbie to DOS, so sorry if this's really easy!
secondly, i've tried the FAQ pages and searching the forums but i can't find an answer to my problem...
Ok, what i've been trying to do is install a Java Development Kit in Windows XP. I usually use Linux to do this kind of stuff, so what i'd like to do is to be able to type in commands in DOS ,e.g. 'javac' (that's the compiler), and for them to work regardless of which directory i'm currently in.
Here's an example:
just say i'm in directory c:\chris and i want to compile a file, HelloWorld.java. I can compile the file if i type in:
c:\jdk1.31\bin\javac HelloWorld.javai.e. the full path to the compiler, then the filename.
but... because i'm super lazy
i just want to type:
javac HelloWorld.javai've tried putting shortcuts in c:\windows\system32 (that's where external commands seem to be stored?) to the javac.exe program and i've even tried to copy javac.exe to there but it doesn't work (it can't find the necessary libraries).
is there anyway that i can, sort of, choose which directories i want the command prompt to search through to find the executable files?
many thanks for reading, it'd be amazing if someone could help me out...
Chris.