I'm in the first 55 pages of the book Head First, and I do not understand if I test and run the scripts or not, such as the guessing game of numbers. If yes, what should I do to test them? (procedures please). I read something about %javac but I can not imagine how to use it. To facilitate the verification of the script, I'm using a simple editor called jsyntaxpane-0.9.5-b29. It is interesting because it is a highlight over the terms and formats the script correctly, however, can not save the scripts and do not know if this is a feature of the editor or if I'm doing something wrong. I accept any suggestions for similar editors.
I suggest you start by working your way though this FAQ on setting up a development environment and running your first Java program. Please come back as you have additional questions or need further guidance.
Learning Java using Eclipse on OpenSUSE 11.2
Linux user#: 501795
Joined: Jun 20, 2012
Greg Brannon wrote:I suggest you start by working your way though this FAQ on setting up a development environment and running your first Java program. Please come back as you have additional questions or need further guidance.
Thank you, Greg. I had already installed the sdk and now, with the instructions of the faq, I registered the path. I have tested it and ran my first app: mooooooo.
Now I can use the same process (compile with javac and run with java -class) to check the scripts of the book Head First Java, right?
Joined: Oct 24, 2010
Now that you've done it once, you know that you have the requirements for compiling and running satisfied and that it's possible. That's an important point to establish. You can now create files of source code following the examples in your book, save them, then compile and run them from the command line. You may find there are other subtleties to the process that will occasionally prevent you repeating the success you've had following the step-by-step guidance in the FAQ, but don't get discouraged. It's all part of the learning process of getting your environment set up and understanding how it all works. Come back when you need help.