File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Recompile with -deprecation for details.

Carlos Villarreal

Joined: Sep 24, 2003
Posts: 2
Note: 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

Joined: Jul 26, 2002
Posts: 10
your class 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

Joined: Oct 18, 2000
Posts: 4121

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

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
subject: Recompile with -deprecation for details.
It's not a secret anymore!