giáo trình Java By Example phần 10

Tham khảo tài liệu 'giáo trình java by example phần 10', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | -checksource Instructs the interpreter to run the compiler on files that are not up to date. -classpath path Determines the path in which the compiler looks for classes. -cs Same as - checksource. -D Instructs the interpreter to set a property value. -debug Runs the debugger along with the application. -help Displays the commands you can use with the interpreter. -ms x Specifies the amount of memory allocated at startup. -mx x Specifies the maximum amount of memory that can be allocated for the session. -noasyncgc Tells Java not to use asynchronous garbage collection. -noverify Tells the interpreter not to verify code. -oss x Specifies the maximum stack size for Java code. -ss x Specifies the maximum stack size for C code. -v Specifies that the interpreter should display status information as it works. -verbose Same as -v. -verbosegc Specifies that the garbage collector should display status information as it works. -verify Tells the interpreter to verify all Java code. -verifyremote Tells the interpreter to verify code loaded by a classloader. This option is the default. As you can see the interpreter can accept quite a few command-line options. Of these options though only a few are used frequently. You ll get a look at those more useful options in the sections that follow. Keeping Files Up to Date When you re working on a new application you ll make frequent changes to the source code. Whenever you change the source code you must recompile the program before you run it. Otherwise you ll be running an old version of the program. When you start writing larger applications you ll have many files for the classes that are used in the program. As you change the contents of these files you may lose track of which files need to be recompiled. This is where the interpreter s - checksource command-line option comes into play. The -checksource option tells the interpreter to compare the dates and times of your source-code files with the dates and times of the matching .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.