This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General and the fly likes regarding some error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "regarding some error " Watch "regarding some error " New topic
Author

regarding some error

Pradeep Kalisetti
Greenhorn

Joined: Mar 12, 2007
Posts: 3
hi every one.....I am written a simple program......
I am not able to compile the program....and i am getting a message that
Note otcomTestDrive.java uses unchecked or unsafe operations
Note:Recompile with -Xlint:unchecked for details


-Pradeep
Remko Strating
Ranch Hand

Joined: Dec 28, 2006
Posts: 893
Your program is compiled but gives you a warning.

The following command will give you more clearity over the cause of the warning

javac dotcomTestDrive.java - Xlint

I you don't understand this warning, then let us show your warning.


Remko (My website)
SCJP 1.5, SCWCD 1.4, SCDJWS 1.4, SCBCD 1.5, ITIL(Manager), Prince2(Practitioner), Reading/ gaining experience for SCEA,
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: regarding some error
 
jQuery in Action, 3rd edition