• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

doubt in head first s and j

 
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hey i tried the first mvc desing pogram in HFSJ . But when i tried to compile the BeerExpert.java program given in page 81 i was not able to compile it. It prints out some message saying recompile it with -Xlint . Then i recompile it with that thing it gave so many error like raw adding to list etc. plz tell me how to rectify it. I'm using jdk 1.5 with Tomcat 5.0 and evrything configred properly. Thank u in advance...
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did the compiler give you an error message or a warning message?
There are some new features in JDK1.5 that will cause warnings to appear if not used. Plenty of perfectly good 1.4 code will cause these warnings.
If a .class file was created, then it compiled.

If you're not using any 1.5 features, you can quiet the warnings down by using the -source 1.4 compiler switch.
 
reply
    Bookmark Topic Watch Topic
  • New Topic