-Xlint deprecation error

Dear All,

I am trying to build a small chat program that connect two computers on a LAN.

As I'm not good with Java, I'm using the programs I found on this site:

http://pirate.shu.edu/~wachsmut/Teaching/CSAS2214/Virtual/Lectures/chat-client-server.html

Whenever I compile any of the programs, server or client, it shows the -Xlint deprecation error.

I am not sure on how to alter the code to remove this error. Can anyone please help me?

Thanks,

Gautam

[503 byte] By [gj89a] at [2007-11-27 10:37:00]
# 1

Deprecation implies its a java feature that is no longer recommended for future java projects. However, the project will still probably run ok. Are you sure it says 'error', or does it really say 'warning'? Warning means it will compile where error will not. The deprecation is probably caused by the code originator using an older java version than you are using when he created the project. For example, they may have used jdk1.4 where you are using jdk1.5. If your code works ok, I would ignore the warning (you can research the recommended replacement to fix the deprication, but its probably not worth it).

George123a at 2007-7-28 18:45:13 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...