Java - Note: Some input files use or override a deprecated API

Preeyah picture Preeyah · Apr 22, 2015 · Viewed 14.2k times · Source

I'm trying to compile my Java program, however I am getting a "Deprecated File" error.

I normally compile the file by typing "Javac FileName.java", however I get an error saying:

FileName.java uses or overrides a depreacted API. Recompile with Xlint-deprecation for details.

What do I type into the command line to make it run?

Answer