Instead of passing arguments directly to the javac tool, we can store them in argument files. The last standard option we'll cover is the argument file. which classes are loaded and which are compiled, we can apply the -verbose option. If we want to know what's going on during a compilation process, e.g. This option is only applicable to Java 9 and above – please refer to this tutorial for a guide to the Java 9 module system. -p (or –module-path) – indicates the location of necessary application modules.If this option is missing and the CLASSPATH environment variable isn't set, the current working directory is used instead (as was the case in the example above). -cp (or -classpath, –class-path) – specifies where types required to compile our source files can be found.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |