0

when i compile my programm the output is :

Note: C:\Users\Owner\Desktop\New folder (2)\Animate.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Can some one help me please?

Thanks

3
Contributors
9
Replies
10
Views
5 Years
Discussion Span
Last Post by Ludachrispeed
0

The compiler has found some potential problems in your code and recommends that you use the -Xlint option of the javac command to see the full text of the warning/error messages.

Add the -Xlint option to the compiler's options and recompile the program.

Edited by NormR1

0

Read the API doc for the javac command. I use -Xlint to get all the messages.

D:\Java\jdk1.6.0_29\bin\javac.exe -Xlint ListCombiner.java

Edited by NormR1

0

The -Xlint option goes on the command line with the javac command.

Do you know what a command line is?
Do you know about execcuting commands by typing them in a command prompt window?

0

Using the command line and commands is part of the OS. It has nothing to do with java.
The javac.exe program is one of the many,many programs that can be executed on a command line. Others include: notepad.exe, word.exe, Firefox.exe , Any program with a .exe extension can be executed on a command line.

Edited by NormR1

0

hey dude! if your Animate.java code isn't too big, post it here - seems like you're trying to use some super old code.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.