File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Compling problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Compling problem" Watch "Compling problem" New topic

Compling problem

cry kuranga

Joined: Feb 23, 2007
Posts: 1
I still very new to Java and I'm so confused will this statement when I was compling:

Note: H:\Program Files\Xinox Software\JCreator Pro\MyProjects\college\ uses unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

Please assist....
marc weber

Joined: Aug 31, 2004
Posts: 11343

Welcome to JavaRanch!

My guess is that you are using collections (like a List or Set) without proper use of generics. The compiler warning is just a warning -- this alone should not prevent the file from compiling.

To see the exact causes, recompile with the -Xlint flag as suggested.

>javac -Xlint:unchecked

"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
I agree. Here's the link:
subject: Compling problem
jQuery in Action, 3rd edition