VisualBuilder
  Home > Java > Tutorials > Java Compiler (javac) and Debugger - Ant Tutorial
Tell a friend
Link to us
Total Members
      Members: 84661
     
Sitemap Forum Chat
Home
Ant Tutorial Home
1 . Introduction
2 . Library Dependencies
3 . Necessary Elements Of the Build File-1
4 . Neccessary Elements Of the Build File-2
5 . Writing Your First Buildfile
6 . Integration Of Ant With IDE Eclipse
7 . Command-line Arguments
8 . ANT Command Options Summary
9 . Properties in ANT
10 . Example to print the existing properties using ANT.
11 . Adding lib files in Classpath from the Ant Script
12 . Creating and deleting the directories from Ant Scripts.
13 . Working with Files.
14 . Example to Create the Jar files
15 . Creating the War files using the ANT Scripts
16 . Ear Command in Ant
17 . Generics
18 . Annotation Processing Tool ( APT )
19 . More Enhancements in Tiger.
20 . Java Compiler (javac) and Debugger
21 . Java Web Start in J2SE 5.0
22 . General Deployment Enhancements in J2SE 5.0
 
 
Java Home
Java Members (27650)
Java Member Articles ( 40 )
Java Discussion (275)
Java Q & A ( 174 )
- Java Ask Question
- Java Questions
- Java Unanswered Questions
Java Resources
Java Source Code (1096)
Java Articles (551)
Java Blogs (118)
Java Jobs (797)
Java Components (85)
Java Books (169)
Java Websites (127)
Java News (103)
 
GROUPS
.NET
ASP.NET
.NET
C#
ASP
Visual Basic
Java
Java
JSP
EJB
Other
Delphi
C++
Ajax
UML
JavaScript
PHP
Web Design
Web Hosting
SQL Server
Oracle
Project Management
More Groups

 
LEARNING CENTER
TUTORIALS
.NET
.NET Tutorial
ASP Tutorial
ASP.NET Database Tutorial
ASP.Net Security,Internationalisation And Deployment
ASP.NET Tutorial
C# Tutorial
Web Development
Flex Tutorial
HTML Tutorial
Learn AJAX Tutorial
PHP Tutorial
Software Development
Database Tutorial
SQL Tutorial
UML Tutorial
Java
Ant Tutorial
EJB 3 Tutorial
Hibernate Tutorial
Java Tutorial
Java Web Component Tutorial
Java XML Tutorial
JDBC Tutorial
JDK1.5 Tutorial
JSF Tutorial
JSP And J2EE Design Tutorial
JSP Tutorial
Spring Tutorial
Struts Tutorial

RESOURCES
Q & A (451 )
Source Code (3275 )
Articles (359 )
Books (372 )
Components (1596 )
News (892 )
Websites (1207 )

SUBMISSIONS
Submit Article
Submit Website
Submit News
Submit Source Code
Submit Component

COMMUNITY
Members Directory
Discussion Forum
Chat

SITE
About Us
Sitemap
Search
Contact Us
Link To Us
Feedback
Tell a Friend
Partners
Advertise

Java ant Tutorial
 Java Compiler (javac) and Debugger
  << Prev: More Enhancements in Tiger. Next: Java Web Start in J2SE 5.0 >>

As there are more tools and concepts added in the JDK 5.0, the compiler is also enhanced to process these changes. The support for all the enumeration and for each loop is also added. The following compiler options are also added in the compiler in JDK1.5.



  • -source 1.5 - Enable 1.5 specific language features to be used in source files. ( -target 1.5 is implied.)

  • -target 1.5 - Allow javac to use 1.5 specific features in the libraries and virtual machine.

  • -Xlint - Enable javac to produce warning messages about legal, but suspect and often problematic, program constructs. An example would be declaring a class that implements Serializable but does not define a serialVersionUID .

  • -d32 - Indicate a 32-bit Solaris or Linux platform.

  • -d64 - Indicate a 64-bit Solaris or Linux platform.

  • -target cldc1.0 - Generate class files suitable for use on VMs in Connected Limited Device Configuration (CLDC) version 1.0 and later. The compiler generates stack maps making the use of the preverifier unnecessary.


Java Platform Debugger Architecture (JPDA)


JPDA has following new features:-



  • A read-only subset of JDI has been defined. This subset can be used on a debuggee in which no debug code can be executed. The subset allows creation of JDI connectors for use in debugging such debuggees.

  • A service provider interface for connectors and transports allows end users, to create their own JDI connectors and transports and plug them into the JPDA reference implementation.

  • JDI supports the new language features (generics, enums, and varargs).

  • The layers Java Virtual Machine Debugger Interface (JVMDI) and Java Virtual Machine Profiling Interface (JVMPI), has been deprecated and will be removed in the next major J2SE release. A new layer Java Virtual Machine Tool Interface (JVMTI) is introduced which is a more general interface that allows profiling to be done as well as debugging.

  • The JPDA reference implementation includes new JDI connectors that allow core files and hung processes to be debugged.


  << Prev: More Enhancements in Tiger. Next: Java Web Start in J2SE 5.0 >>
Java Ant Tutorial Home
Give feedback and win a prize.

 
   Printer Friendly
   Email to a friend
   Add to my Favourites    
  Download PDF version
   Report Bad Submissions
   Submit Feedback
 
  Delicious   Digg   Technorati   Blink   Furl   Reddit   Newsvine   Google Click each image to add
this page to each site.
 
 
Welcome Guest Signup
MEMBER'S PANEL
EMAIL
PASSWORD
Forgot your password?
New User? Click Here!
 
Resend Activation Email!
 
SEARCH
 
 
 
ADVERTISEMENT
Partner List
Code Project
ASP Alliance
More
 
 
 
 

Home | Login | About Us | Contact Us | Privacy Policy | Advertising