• 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

im new at this. what am i doing wrong? help please?!

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
this is kinda embarassing really considering i have mr bates Ms. sierras head first java book

i was trying to do their beer bottle code and was typing it in notepad then realized i dont know how to run it

i have the following applications downloaded to my computer they are
java stanard edition sdk that i got from java sun
and eclipse this is what my aunt told me i needed after she talked to some of her programmers

but i have no idea how to um run it and see my end results or the out put and um which of the two above mentioned applications will my compiler be in and then how do i transfer that stuff in the notepad file to the compiler i appreciate any and all help even if it deals not with the beerbottle class but to a game or other application

and again i am but a green grass hopper who needs help finding his way in the world of java
 
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to JavaRanch!

I would recommend not using Eclipse (or any other IDE) when starting. These can complicate things by introducing their own learning curve and "hiding" some of the nuts and bolts of what you're trying to learn.

See this Hello World Tutorial (for Windows), which will take you thought the steps of writing, compiling, and running a simple Java program.

Let us know how it goes.
 
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey Wiggins.

Marc is very correct when he says Eclipse is not for beginners. It is a very sophesticated IDE used in Industry.

My personal favorite tool is DrJava, free download, very very easy to use and seems to be tailor made for newbees. For my official work I use JDeveloper but for simple programs for clearing doubts, I use DrJava.

Go ahead download this and enjoy. http://DrJava.org
 
marc weber
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Abhishek Asthana:
...download this and enjoy. http://DrJava.org


Hmmm... I hadn't heard of that one, but it looks kinda cool. There's even a Mac version!

Still, I would recommend using the command prompt when starting out with Head First, because that's what the book is based on, and you'll get familiar with the javac and java commands.
 
caleb wiggins
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks ill see how it all goes
 
Ranch Hand
Posts: 3389
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, i also suggest you to go for a plain editor like Notepad.

The next step is you can go for editors (not IDEs) which helps by highlighting the syntax aspects of the language so that you can find out if you do a mistake on the syntax part. The examples are like EditPlus, Notepad++, TextPad etc. I can suggest for this once you are through with the basics and somehow comfortable with the APIs.

The next is IDEs (Integrated Development Environment) which helps you with several features as context sensitive help (by placing a dot on an object, it fetches all the accessible members of it {members include both member variables and methods}, by facilitating you to navigate to different parts of programs, easy building etc etc. The examples include Eclipse, Netbeans, WebSphere Studio Application Developer, WebLogic.

Hope this give you an info about these tools in general.


then how do i transfer that stuff in the notepad file to the compiler i appreciate any and all help even if it deals not with the beerbottle class but to a game or other application



You can just select all the contents by any of the two ways.

  • pressing "Ctrl+A" keys (selecting all text inside the opened file) together and again "Ctrl+C" keys (to copy)
  • goto Edit Menu -> click on "Select All" option" and then again on Edit Menu -> "Copy" option


  • Hope this helps you.
    [ August 06, 2007: Message edited by: Raghavan Muthu ]
     
    I am going down to the lab. Do NOT let anyone in. Not even this tiny ad:
    a bit of art, as a gift, that will fit in a stocking
    https://gardener-gift.com
    reply
      Bookmark Topic Watch Topic
    • New Topic