In a class that I�m taking we are to adhere to a certain file structure and I�ve been teaching myself using a simple text editor and command prompt. What I�ve learned to this point is that I need to save java files under the JDK/bin in order to compile them. I�ve tried to save the required files in the bin only to have the java files unable to compile. I�m I missing something in the logic?
Also could someone tell me what this line of code is saying?
I think you guys are missing something with the requirement to save to the bin file.
javac, for example, is in the bin folder. When you compile, you would have to set the path on your system so that your comp knows how to find the bin folder so you don't have to type its entire path when running javac and java to compile and run a prog.
I'm guessing that either you don't have admin rights to the computers (maybe lab comps) to set the path or the teacher doesn't feel like going through the trouble of teaching the entire class to set it. I could add that maybe he just has no clue, but I'll be nice.
You can save your Java files wherever you want and still compile them. Set a path to the bin folder to avoid all this headache. There are instructions at sun's site in the same place where you DL the jdk.