That's not correct, you have to use javac -deprecation to compile programs containing deprecated methods.
javac -d is used for specifying to store .class files to some other destination. Thanks Prasad --- Nagaraju K <[EMAIL PROTECTED]> wrote: > complie it with javac -d option > > The secret of getting ahead is getting started. The > secret of getting start > is breaking your complex overwhelming tasks into > small manageable tasks, and > then starting on the first one. > --Mark Twain > > > -----Original Message----- > From: Vaishali S. Pandya > [mailto:Vaishali_Shah@;RIL.COM] > Sent: Monday, October 21, 2002 11:10 AM > To: [EMAIL PROTECTED] > Subject: how to compile depricated methods in java? > > > how to compile depricated methods in java? > > =========================================================================== > To unsubscribe: mailto [EMAIL PROTECTED] with > body: "signoff > JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: > "set JSP-INTEREST > DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > > =========================================================================== > To unsubscribe: mailto [EMAIL PROTECTED] with > body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: > "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com