• 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

Scripts in the Head First book

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Bartender
Posts: 563
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Renato Bello
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 563
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Replace the word "snake" with "danger noodle" in all tiny ads.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic