What is the -d option of the Java compiler, javac?
February 11th, 2008 by uCertify
Leave a reply »
The -d option of the Java compiler, javac, specifies the path for storing class files in a directory other than the root directory. By default, class files are stored in the location in which the corresponding Java source files are stored.
The path is set at the command prompt as given below:
javac <Source file> -d c:Directory name
Note : The above-mentioned path is as set in a Windows operating system environment.
Pass SUN scja - SCJA
Click here to download CX310-019 test study guide and practice question.