Original Post
I have the Java SDK 1.5 and in it there is a /bin that contains the tools. Now i wanted to have these run from the command line without being in the directory /bin. So i copied the contents of /bin to /windows/system32 and they run fine. The problem lies in the fact that i get the following javac error when i compile any .java file using the system32 javac exe: Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/tools/javac/ ain If i move the file i am compiling to the JDK directory and compile using the /bin exe it works with no errors. So is there anything i am missing out when adding executables to the command line tools in Windows XP? Dave