aspose file tools*
The moose likes Beginning Java and the fly likes im new at this. what am i doing wrong? help please?! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "im new at this. what am i doing wrong? help please?!" Watch "im new at this. what am i doing wrong? help please?!" New topic
Author

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

caleb wiggins
Greenhorn

Joined: Jul 21, 2007
Posts: 8
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
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

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.


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Abhishek Asthana
Ranch Hand

Joined: Sep 08, 2004
Posts: 146
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

Joined: Aug 31, 2004
Posts: 11343

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

Joined: Jul 21, 2007
Posts: 8
thanks ill see how it all goes
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3344

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 ]

    Everything has got its own deadline including one's EGO!
    [CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: im new at this. what am i doing wrong? help please?!
     
    Similar Threads
    Java Beans
    VJ++ problems
    Jump from one application to another
    How to run multiple processes at once, while still able to type commands to system.in
    using command to run swing application ?