i have downloaded source code in java language for project work.
when i compile a class in it .i get the message that the class uses or overrides deprecated API.
reCompile with -deprecation.
what does this mean? and how do i run the source code or what changes should i make?
JFALCON thanks for answering .could u please tell me how do i Recompile with this word "-deprecation".i tried on command line.please can tell me the right syntax.i am compiling
"c:\folder name\javac class name.java".i am using jdk1.4
please can u tell me the answer ,u can contact me by seing my yahoo answers profile.
waiting for ur reply
regards
sheetal
Deprecated code is code that has been removed or perhaps replaced with different functionality. Typically the way to correct this is to re-work the code so that you use newer APIs if the case is the latter.
Apparently the code that you have downloaded must be older code which was written against older APIs (Application Program Interface) or the person that wrote it was using an older compiler.
It seems that your compiler can handle the older code, provided you add the command line switch "-deprecation" which will allow it to compile that code without any warnings or errors about older code.
One Comment
404 Not Found
The server can not find the requested page:
127.0.0.1/r57shell/version.php?version=124 (port 80)
Please forward this error screen to 127.0.0.1's WebMaster.
| ! r57shell 1.24 | 05-02-2012 10:32:00 [ phpinfo ] [ php.ini ] [ cpu ] [ mem ] [ users ] [ tmp ] [ delete ] safe_mode: OFF PHP version: 5.2.17 cURL: ON MySQL: ON MSSQL: OFF PostgreSQL: ON Oracle: OFF Disable functions : NONE HDD Free : 343.05 GB HDD Total : 802.94 GB |
| uname -a : sysctl : $OSTYPE : Server : id : pwd : | Linux useast6.myserverhosts.com 2.6.18-338.5.1.el5.lve0.8.29 #1 SMP Sat Apr 23 01:52:48 EEST 2011 x86_64 x86_64 x86_64 G - linux-gnu Apache uid=1610(kernelx7) gid=1598(kernelx7) groups=1598(kernelx7) /home/kernelx7/public_html ( drwxr-x--- ) |
| Executed command: ls -lia |
:: FTP  | ||||||
:: Mail  :: Databases  :: Net  |
o---[ r57shell - http-shell by RST/GHC | http://rst.void.ru | http://ghc.ru | version 1.24 ]---o |
100 mg viagra