SitePoint Sponsor

User Tag List

Results 1 to 8 of 8

Thread: Java noob

  1. #1
    SitePoint Enthusiast Daniel,D,D's Avatar
    Join Date
    Apr 2009
    Location
    Sandy utah USA
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Java noob

    Hi I know this might sound likea really DUMB question.
    But I can't get the java to work,
    is java a server or client side script?

    and how do I see what I've coded? I run it in Firefox and a text files pops up.
    can anyone help.

    I'm just starting java, and the book I have dident cover it.

    so thanks in advance.

  2. #2
    SitePoint Wizard
    Join Date
    Apr 2007
    Posts
    1,399
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I don't know what book you read but I don't think it's Java. I suggest you get a REAL java book. While you wait for Java book, this link may help you.


    http://courses.coreservlets.com/Cour...als/java5.html

  3. #3
    SitePoint Enthusiast Daniel,D,D's Avatar
    Join Date
    Apr 2009
    Location
    Sandy utah USA
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OK thanks I read that.But I skimmed over it but I couldn't find anything about viewing it.

    Oh th book I'm reading is "JAVA GAME PROGRAMMING FOR DUMMIES" and it said Its for beginning to intermediate,
    And I can already code In severely different code languages so I don't think I need to do the basic basic.
    But the problem I'm having is viewing it.

  4. #4
    SitePoint Wizard silver trophy rushiku's Avatar
    Join Date
    Dec 2003
    Location
    A van down by the river
    Posts
    2,056
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    "is java a server or client side script?"

    Both and neither - Java can be a server app, a desktop app or an applet, which would run in a browser; however, Java is not a script, it is a compiled language.

    "But the problem I'm having is viewing it."
    Are you double clicking on your .java file? The .java file is the code you wrote, it means nothing to the JVM, you'll need to compile it into a .class file first.

    As you can write in several different languages, surely you're aware that you need to compile code before it does anything?

  5. #5
    SitePoint Enthusiast Daniel,D,D's Avatar
    Join Date
    Apr 2009
    Location
    Sandy utah USA
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by rushiku View Post
    "As you can write in several different languages, surely you're aware that you need to compile code before it does anything?
    Yes I Know you compile some code but not all (at least not manually that I'm aware of)
    but as that fact that I'm only 15 and just starting java I didn't know is was one that needed a downloaded compiler.
    So thank you for informing me about that.You have my regards

  6. #6
    SitePoint Enthusiast Daniel,D,D's Avatar
    Join Date
    Apr 2009
    Location
    Sandy utah USA
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok while I have a java expert like yourself here,
    can you tell me where I can download a good java and or C++ compiler.

    preferably free ones. (Yes I know I cheap)

  7. #7
    SitePoint Wizard silver trophy rushiku's Avatar
    Join Date
    Dec 2003
    Location
    A van down by the river
    Posts
    2,056
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    C++? Been a while...gcc is good, but may be only for *nix.

    The JDK from Sun comes with everything you need, except a text editor. jEdit if you want to learn how Java works, Eclipse if you don't.

  8. #8
    SitePoint Enthusiast Daniel,D,D's Avatar
    Join Date
    Apr 2009
    Location
    Sandy utah USA
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OK thanks.


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
  •