Compiler

Everytime I run Complier i get:

Note: stream.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Press any key to continue . . .

I'm fairly new to java, any help will do

Thanks

Message was edited by:

Harloe

[299 byte] By [Harloea] at [2007-11-27 10:25:03]
# 1

You're using a class or method that's been replaced by something that works better (more reliable, faster, more secure) or been otherwise marked as "not to be used any longer".

Check the documentation and/or follow the advise given to find out what to do.

jwentinga at 2007-7-28 17:31:27 > top of Java-index,Developer Tools,Java Compiler...
# 2

This message means you are using a deprecated method, which will still work for a while but later after sometime it will become unavailable. ITs better to be far from deprecated method, you can still compile and run this code as follows :

javac -Xlint:deprecation filename OR

javac -deprecated filename

If you can post the code I can tell which method is causing this problem.

java_queena at 2007-7-28 17:31:27 > top of Java-index,Developer Tools,Java Compiler...