In kathy sierra book.They have mentioned about -classpath as one of option can be given in javac compiler .They have mentioned about this in an line as example : javac -classpath com:. -g Foo.java Bar.java
They have told like here we pass a compiler 2 options .iam not clear what it does option does. Can anyone explain me about this -classpath and -g along with example or in detail.
-classpath com:. tells the compiler to look in the com package (under the current directory) as well as the current directory (the "." means current directory) for classes that Foo.java and Bar.java need to compile.
-g tells the compiler to generate debug information.