This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Tammy Lynn
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • 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.
 
Jade Davidson
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is everything capitalized exactly like in the book? Java is case sensitive.
 
Rob Ross
Bartender
Posts: 2205
  • Mark post as helpful
  • send pies
  • 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
 
Art Metzer
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
  • 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
 
Dave Vick
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
  • 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
  • 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!
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whenever you get that error on a method check spelling and capitalization.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic