• 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

my first post .. hope this is helpful

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have been following Maha's Prep Tips and working my way through
'Thinking in Java' by Bruce Eckel. I recently made a really stupid
mistake that wasted a lot of time (hours). Perhaps I can save someone else some time by relating what I did.
While working through Chapter 5, Hiding the Implementation, I completed the first examples on importing packages (LibTest.java and Vector.java, etc.) but spent two days trying to make Dessert.java and Cookie.java compile. Only after finding the files Cookie.java and Cookie.class living in my c05 directory as well as living in the Dessert directory (where they belong) did I see my mistake. Deleted the Cookie files from my c05 directory and every things runs great.
Moderators: any editing you care to do to make this clearer (I assume you're very familiar with 'Thinking in Java',) is greatly appreciated. I'm a newbie and this is my first post.
Java Ranch looks like a great place to be.
Also, I'm doing all of my work under RedHat Linux 6.2.
 
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome, Neal!
You'll be surprised at how quickly you'll be doling out advice on JavaRanch. But if you're like me, you'll never stop asking questions. ;-)
Again, welcome.
Art
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Looks to me like just did just a fine job all by yourself. Very nice to have some pro-active advice. Also nothing like someone who has learned the hard way, to explain things well. I will look forward to seeing you participate in the future.
(PS I thing Bruce Eckel's idea of an open book is SOOOOOO cool that I bought one just to support his cause )
 
reply
    Bookmark Topic Watch Topic
  • New Topic