This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'm working my way through Servlets and JSP and having trouble with the command line compiler. If I move all my files into an eclipse project everything compiles and runs, so it's apparently the compiler switches that I'm using. I don't want to rely on eclipse; I want to learn this from the command line, but this is getting frustrating.
The dev environment folders are setup just like the book. The BeerExpert class compiles fine, but my BeerTest code won't compile. It's in the same folder as the BeerExpert class and I've tried all these compiler commands. (plus a few others, out of desperation)
Please UseCodeTags when posting code. It will highlight your code and make it much easier to read. It probably will also increase the number of people helping you. You can edit your post with the button.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.