wood burning stoves 2.0
The moose likes Beginning Java and the fly likes One step forward, and now one back..help! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "One step forward, and now one back..help!" Watch "One step forward, and now one back..help!" New topic

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

Tammy Lynn

Joined: Jan 19, 2002
Posts: 3
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

Joined: Oct 12, 2001
Posts: 64
Is everything capitalized exactly like in the book? Java is case sensitive.
Rob Ross

Joined: Jan 07, 2002
Posts: 2205
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

SCJP 1.4
Art Metzer
Ranch Hand

Joined: Oct 31, 2000
Posts: 241
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,
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
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.

Tammy Lynn

Joined: Jan 19, 2002
Posts: 3
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

Joined: May 17, 2001
Posts: 2823
Whenever you get that error on a method check spelling and capitalization.
I agree. Here's the link: http://aspose.com/file-tools
subject: One step forward, and now one back..help!
It's not a secret anymore!