aspose file tools*
The moose likes Bunkhouse Porch and the fly likes Scripts in the Head First book Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Books » Bunkhouse Porch
Bookmark "Scripts in the Head First book" Watch "Scripts in the Head First book" New topic
Author

Scripts in the Head First book

Renato Bello
Greenhorn

Joined: Jun 20, 2012
Posts: 15
Hi everybody,

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.

Thank you in advance for your help.

Renato
Greg Brannon
Bartender

Joined: Oct 24, 2010
Posts: 557
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
Renato Bello
Greenhorn

Joined: Jun 20, 2012
Posts: 15
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?
Greg Brannon
Bartender

Joined: Oct 24, 2010
Posts: 557
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Scripts in the Head First book
 
Similar Threads
Someone teach me line by line how to read this particular code
GroovyShell wait?
line of exit program code?
simple Java editor needed
jQuery: how to determine if any checkbox is checked.