Java Compiler Options : Introduction « Language « Java Tutorial

Java Tutorial
1. Language
2. Data Type
3. Operators
4. Statement Control
5. Class Definition
6. Development
7. Reflection
8. Regular Expressions
9. Collections
10. Thread
11. File
12. Generics
13. I18N
14. Swing
15. Swing Event
16. 2D Graphics
17. SWT
18. SWT 2D Graphics
19. Network
20. Database
21. JSP
22. JSTL
23. Servlet
24. Web Services SOA
25. Email
26. J2ME
27. J2EE Application
28. XML
29. Design Pattern
30. Log
31. Security
32. Apache Common
Java
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Tutorial » Language » Introduction 
1. 1. 6. Java Compiler Options
Folder                         Description

-g                             Generate all debugging info

-g:none                        Generate no debugging info

-g:{lines, vars, source}       Generate only some debugging info

-nowarn                        Generate no warnings

-verbose                       Output messages about what the compiler is doing

-deprecation                   Output source locations where deprecated APIs are used

-classpath <path>              Specify where to find user class files

-cp <path>                     Specify where to find user class files

-sourcepath <path>             Specify where to find input source files

-bootclasspath <path>          Override location of bootstrap class files

-extdirs <dirs>                Override location of installed extensions

-endorseddirs <dirs>           Override location of endorsed standards path

-d <directory>                 Specify where to place generated class files

-encoding <encoding>           Specify character encoding used by source files

-source <release>              Provide source compatibility with specified release

-target <release>              Generate class files for specific VM version

-version                       Version information

-help                          Print a synopsis of standard options

-X                             Print a synopsis of nonstandard options

-J<flag>                       Pass <flag> directly to the runtime system
1. 1. Introduction
1. 1. 1. Developing a Java program involves
1. 1. 2. JDK Utilities
1. 1. 3. See the details of the compilation: use the verbose option
1. 1. 4. A profiler is used to analyze how much time a program spends in each part of the code.
1. 1. 5. The syntax to use the javac tool
1. 1. 6. Java Compiler Options
1. 1. 7. The java Tool
1. 1. 8. Commonly Used Java Command Options
1. 1. 9. The javadoc Tool
1. 1. 10. The jar Tool
1. 1. 11. The javap Tool
1. 1. 12. Some of the Options Supported by the javap Utility
1. 1. 13. The jarsignature Tool
1. 1. 14. The native2ascii Tool
1. 1. 15. The jconsole Tool
1. 1. 16. Java memory command line arguments
w__w__w_.___j__ava__2_s_.c__om___ | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.