Classpath Issues [Resolved]
Hi guys,
I've installed Java on a few machines before but I'm trying to do so on a new PC (OS - Windows XP) and I'm having a few difficulties setting the classpath.
This is what the relevant file structure looks like -
C: -> Program Files -> Java -> jdk1.5.0_02
My classes are here -
C: -> Program Files -> Java -> Java Classes
In the Environment Variables section in System I've set the PATH variable to this -
PATH = [...irrelevant stuff...]C:\Java\jdk1.5.0_02\bin;
and CLASSPATH to this -
%CLASSPATH%;C:\Java\jdk1.5.0_02\lib;C:\Program Files\Java\Java Classes;
But whenever I try to compile any classes, the machine tells me 'javac' is not recognised....
The javac file is DEFINITELY in the 'bin' directory so I don't know what the problem might be. Any help you guys can give me would be massively appreciated.
Thanks
EDIT: Resolved thanks to the very able plenderj :)