Bookmark Topic Watch Topic
  • New Topic

Deprecate compile option  RSS feed

 
Shara Woods
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Report post to moderator
For a project i work on when i say make -f makefile I get the following error.

6 files use or override a deprecated API. Recompile with "-deprecation" for details.

Can somone please explain how to use this on command line?
 
Julian Kennedy
Ranch Hand
Posts: 823
  • Mark post as helpful
  • send pies
  • Report post to moderator
javac -deprecation MyClass.java

You'll need to edit your makefile.

Jules
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Report post to moderator
Round these parts, posting the same question in multiple forums is bad practice. It can make it rather difficult to follow a conversation, plus folks spend time saying things that were just said.

Please continue in the duplicate post in the Beginner forum.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!