Applications written for JDK1.0 used the existing Java API, but with JDK1.1 onwards, some methods have been marked as deprecated. The API has been restructured and modified, with new classes and methods that provide similar functionality. Whenever possible, you should modify your application to remove references to deprecated methods/classes, and use the new alternatives offered as part of the Java API.
For more details on exactly which parts of your code is using a deprecated API, use the '-deprecation' parameter with the javac compiler.
Posted in: Java