Closed Thread
Results 1 to 5 of 5

Thread: First and Hardest Java Program

  1. #1
    Dyroxide is offline Learning Programmer
    Join Date
    Feb 2009
    Posts
    39
    Rep Power
    0

    First and Hardest Java Program

    Now, this is nothing spectacular, but I put alot of time into getting it to work.

    First I need to give credit to the people that helped me: Winged Panther, Stu_328, and Turk4n. Thanks, like I said this program isn't much but thanks to you i got it working and hopefully you stick around to help me with my second program.. hopefully its easier.

    Here it is- pretty proud

    --------------------------------------------------------------------------
    ok.. these are all applications i made on my desktop keep that in mind, I havn't yet learned the "IDE's" and "API's" people are telling me about.

    "Hello.java"

    public class Hello
    {
    public static void main(Strings args[])
    {
    System.out.println("Hello");
    }
    }

    "compile.bat"

    @echo off
    title Compiling
    C:\Java\jdk1.6.0_12\bin\javac Hello.java
    pause

    which produces:

    "Hello.class"

    don't know whats inside of it.. but once its made i run this

    "run.bat"

    @echo off
    title Hello
    java Hello
    pause

    AND, thats my first java program lol.. it opens up a command prompt with Hello as the title and Hello where you type commands... oh yea ;P

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    c0delicious's Avatar
    c0delicious is offline Newbie
    Join Date
    Oct 2008
    Location
    Fl
    Posts
    18
    Rep Power
    13

    Re: First and Hardest Java Program

    Pretty cool dude.. thats the beginning of the path

  4. #3
    TALucas's Avatar
    TALucas is offline Learning Programmer
    Join Date
    Dec 2008
    Location
    Illinois
    Posts
    92
    Rep Power
    12

    Re: First and Hardest Java Program

    Good job! Now you can take and add a little bit here and there, and create more complex programs.
    Your thoughts are the architects of your destiny.

  5. #4
    Lyle Guest

    Re: First and Hardest Java Program

    No good programmer ever skipped Hello World

  6. #5
    Dyroxide is offline Learning Programmer
    Join Date
    Feb 2009
    Posts
    39
    Rep Power
    0

    Re: First and Hardest Java Program

    For now I'm gunna be working in Visual Basic because thats the college course I'm taking but I plan on going to C++, Java, COBOL, and ADA when i have a very good understanding of my first programming language.. I realise now after all the trial and errors I went through these past months with programming that the best way to learn is to find one programming language and learn the basics with it such as strings, substrings, variables, pseudo code/flow charts

    love to plan my code before I write it now aswell.. makes things much easier.. and i can work the bugs out from there

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Hardest. Game. Ever.
    By ANG AfterShock in forum Video Game Talk
    Replies: 12
    Last Post: 07-25-2011, 01:28 PM
  2. Worlds Hardest Game Website Review
    By warden26 in forum Site Reviews
    Replies: 19
    Last Post: 09-08-2010, 12:04 AM
  3. Hardest time at work
    By Brandon W in forum The Lounge
    Replies: 10
    Last Post: 03-01-2009, 01:14 PM
  4. While or For - Which loop works hardest?
    By shibbythestoner in forum Programming Theory
    Replies: 15
    Last Post: 01-07-2009, 07:35 PM
  5. Help anyone pls!! Java program
    By DexterHol in forum Java Help
    Replies: 1
    Last Post: 11-20-2007, 11:51 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts