aspose file tools*
The moose likes Beginning Java and the fly likes Sir help me to resolve Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Sir help me to resolve" Watch "Sir help me to resolve" New topic
Author

Sir help me to resolve

azim sain
Greenhorn

Joined: Jul 20, 2012
Posts: 14
When i compile using following

javac mnu.java

i get a note on command prompt that

Note mnu.java uses a depricated api.
Note recompile using -xlint:deprication for details.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41522
    
  53
That's just a warning, not an error. You can ignore it if you want (the class file has been generated regardless).

To find out what's causing the warning, just follow the instructions it printed out.

Oh, and next time, please UseAMeaningfulSubjectLine when posting.


Ping & DNS - my free Android networking tools app
Greg Brannon
Bartender

Joined: Oct 24, 2010
Posts: 557
Did you then follow the suggested approach to obtain the details? You haven't given us enough info to help you.


Learning Java using Eclipse on OpenSUSE 11.2
Linux user#: 501795
azim sain
Greenhorn

Joined: Jul 20, 2012
Posts: 14
Thank sir,but what should i do next for recompiling,give me statemnnt that i should type in ms-dos.
And sir can you explain the purpouse of warming
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41522
    
  53
The message tells you exactly what you need to add to your compile command. I'm sure that the most cursory of Google searches will find examples of how to use that option when compiling Java code from the command line.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19670
    
  18

Try javac -Xlint:deprecation mnu.java. That will show you which classes / methods you use are deprecated.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
azim sain
Greenhorn

Joined: Jul 20, 2012
Posts: 14
sir,thankz for help
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4529
    
    5

Nothing to do with Swing/AWT/SWT. Moving the thread.


luck, db
There are no new questions, but there may be new answers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sir help me to resolve