File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Recompile with -deprecation for details. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Recompile with -deprecation for details." Watch "Recompile with -deprecation for details." New topic
Author

Recompile with -deprecation for details.

Carlos Villarreal
Greenhorn

Joined: Sep 24, 2003
Posts: 2
Note: ChatHandler.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
I'm new java developer with a minimum exprience, in other words a beginner.
Do you have any clue to solve the above messages ?
Any assistance will be appreciated.
Thanks in advances for your tips,
Timo Hahn
Greenhorn

Joined: Jul 26, 2002
Posts: 10
your class chathandler.java overwrites one or more deprecated methods (methods you should no longer use because they are error prone and/or likely to be removed in future java releases).
use the -deprecated switch when you complie you code to get a detailed list of methods your code overwrites which are deprecated. Then check the java doc's to get help on how to use an other method whitch is not deprecated.
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

Moving this to Java in General (Beginner) since this doesn't directly pertain to GUI programming...


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Recompile with -deprecation for details.