![]() ![]() The compiler has a set of standard options that are supported on the current development environment and will be supported in future releases. You can specify a separate destination directory with -d (see Options, below). For example, if you keep all your source files in C:\workspace, the source code for 圜lass should be in C:\workspace\com\mysoft\mypack\M圜lass.java.īy default, the compiler puts each class file in the same directory as its source file. You should arrange source files in a directory tree that reflects their package tree. These class files have names combining the inner and outer class names, such as M圜lass$MyInnerClass.class. Inner class definitions produce additional class files. For example, a class called M圜lass would be written in a source file called M圜lass.java and compiled into a bytecode class file called M圜lass.class. class suffixes, and both source and class files must have root names that identify the class. ![]() java suffixes, class file names must have. Then use the list file name on the javac command line, preceded by an character.
0 Comments
Leave a Reply. |