• 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

One step forward, and now one back..help!

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the responses to my JSDK compile question. I FINALLY got something to compile and run. Here is my next problem. I am running a very short program similar to HelloWorld. The only difference is I am printing out 5 lines instead of just one. If I compile the program with the first line only, it compiles fine. But when I add the next line, it errors out with "cannot resolve symbol: Method printIn". I'm coding exactly as my book shows, but getting no where with this.
 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is everything capitalized exactly like in the book? Java is case sensitive.
 
Bartender
Posts: 2205
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it a short program? If so, go ahead and post it hear. Use the UBB code tags before and after please so it formats nice
Rob
 
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tammy,
You might want to double-check the name of the method you're using. The method is "println()", not "printIn()". "println()" is short for "print line", so that's a lowercase-L in there, and not an uppercase-I.
Enjoy this journey that is Java,
Art
 
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tammy
Welcome to the Ranch we hope you enjoy your stay here but we also want to direct your attention to our naming policy. Please take a minute and re-regisiter with an appropriate name.
Thanks
 
Tammy Lynn
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Art, thank you. Your suggestion did it! The font type in my book is hard to distinguish between I and l, and I had been using the I. Thanks again!
 
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Whenever you get that error on a method check spelling and capitalization.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic