This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hello All I was using J2SDK1.3 and I just upgraded to J2SDK1.4.2 Then i had a problem with my classes which were compiled correctly before . I simply import a java class which is not in any package , it's directly under /classes folder , and it was working proberly in the last version of java . this is my import statement : ============================= import DBUtilities; and this is the compilation result error : ============================================ '.' expected import DBUtilities; ^ I wish anyone can help thanks alot
Hesham Katon<br />SCJP 1.2<br />SCWCD 1.4<br />Better to light a candle than to curse the darkness
1.4 discourages the usage of importing non-packaged classes. Remove the offending import statement, which was never needed to begin with. That said, you should always put your classes in packages anyway, as you'll discover that other classes in packages will not be allowed access to your non-packaged classes in 1.4