Hey all,
I'm setting up my computer to run Java for a class I'm taking, and I've gotten into a bit of a snag.
I've set the CLASSPATH system variable to include the base folder of my homeworks etc:
"CLASSPATH=C:\Users\Ganon11\Documents\Programm ing in Java;..."
I can now use the java and javac commands when my files are located in this folder. However, for organization, I wanted to put my files in separate folders based on the assignment; the first homework files go into folder HW 1, etc. etc. I expected that the javac command would still work in a subfolder of Programming in Java, but it's not working properly.
I know I can set the CLASSPATH to include the HW 1 folder, but considering there will be close to 15 homeworks, I'm not too enamored with the solution. Is there a way to apply the CLASSPATH to all subfolders of Programming in Java?
I tried putting "CLASSPATH=C:\Users\Ganon11\Documents\Programm ing in Java\*;..." but it didn't work.
Thanks in advance.