This week's giveaway is in the Java/Jakarta EE forum. We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line! See If not I need to fix that.
Background on me: I'm graduating college in a few months and I'm a little frightened about what knowledge I've obtained pertaining to programming. Today I decided I want to understand it much more than I already do, so I decided to buy this book that seemed highly recommended for anyone starting to use java. I've done some programming in J++, Swift, C++, and basic html, php. I've always used an IDE, I'm going to attempt to go through this Java book as slow as possible and maybe it refines and betters my coding!
I'm struggling though and looking for guidance as I hit a pitfall pretty early in the book.
I'm doing the "99 bottles of beer" program just to test my compiler and make sure everything is working correctly.
Guest what -.- it's not. I plan on being very active in this community and seek any professional tips and guidance anyone has for me, but for now to the problem (:
I've attached 3 screenshots of what I'm seeing when trying to run the code. I'm using jdk1.5 / j2se api documentation 8 / Notepad ++
Any help would be greatly appreciated.
posted 2 years ago
The attached file is what I'm seeing what I select "Path" under "System Variables" and hit "Edit" that is the screen that pops up and I wasn't quite sure how to handle the difference.
Carey Brown wrote:With rare exception it is preferred that you cut and paste text into your post instead of posting screen snapshots.
I'll keep that in mind, but you can't cut and paste something such as "System Variables" and as its my first day I wanted to make it abundantly clear I followed directions.
posted 2 years ago
Henry Wong wrote:
Joe Sansone wrote:
I kind of gave a lot of information... can you be more specific?
I think you gave way too much information. As mentioned by Carey, you need to focus on the line that the compiler is complaining about.
I understand that I need to be worried more about line 6 of the code, but in the book it states " There's still one little flaw in our code. It compiles and runs, but the output isn't 100% perfect. " I copied it directly from the book, so I still don't understand the issue.
Joe Sansone wrote:I understand that I need to be worried more about line 6 of the code, but in the book it states " There's still one little flaw in our code. It compiles and runs, but the output isn't 100% perfect. " I copied it directly from the book, so I still don't understand the issue.
You have a typo in what you copied.
Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems.