A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Feb 23, 2007
Sep 20, 2007 12:32:00
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\MainFrame.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Joined: Aug 31, 2004
Sep 20, 2007 13:08:00
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.
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award."
It is sorta covered in the
JavaRanch Style Guide
subject: Compling problem
Not able to create package
Error: package com.example.model does not exist
cannot resolve symbol - help
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014