• Post Reply Bookmark Topic Watch Topic
  • New Topic

Note messages after compiling an APPLET

 
Asleshkumar Thukaram
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I get the following message after the compile....
"Note: C:\Java\HelloJava.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
Tool completed successfully"
Could anyone of you explain what this means??
 
Simon Xu
Ranch Hand
Posts: 235
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
you are using 1.1 version. go to java 1.2 specification to replace old methods.
bye
 
Val Dra
Ranch Hand
Posts: 439
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it means that the method you are using in your program is been deprecated you can compile with the option javac -d yourStuff.java
and it be no problem but for good reasons it's best you find out what method is depricated though the docs and repplace it with another method. It might not be supported in later versions of VM
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!