• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Head First Java question?

 
Murrie Rosendo
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an odd question that pertains to the book Head First Java by OReilly that revolves around running the code in the book. In that book most or all of the examples that you work on whether it be an example or an exercise at the back of the chapter work off of a java file and a class file. This is where my question comes into the play on how are you going about running or compiling that code through either Xcode or NetBeans to work and show that results? I have read tons of coding books from Java to iPhone development all the way to JavaScript and jQuery tech books but this one has honestly left me puzzled. Please help!
 
ankittt agarwala
Ranch Hand
Posts: 42
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey they have written code in broken parts just complete them and also compile and run them without eclipse or xcode that book requires all code to be executed without softwares
 
Campbell Ritchie
Sheriff
Pie
Posts: 47300
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

My, your posts are difficult to read, because you hardly used any punctuation. Both of you. Do you mean, how do you change a .java file into something which has been compiled? That would be a .class file.
The Java™ Tutorials tell you how to do it. So does our "First Program" FAQ.

Remember you have to update your PATH as part of the installation process. If you haven't done this, you will have problems. If anything goes wrong, look at the "common problems" link at the bottom of the Java™ Tutorials page.
 
ankittt agarwala
Ranch Hand
Posts: 42
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i was just telling him to execute java programs without eclipse
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic