Results 1 to 7 of 7
  1. #1
    JavaDog97 is offline Member
    Join Date
    Nov 2012
    Posts
    4
    Rep Power
    0

    Default New to Java... Help?

    I'm just starting to relearn Java, after giving up on it several months ago, and I am working on my hello world project.
    I have Netbeans but I decided to give Notepad++ a try for a chance at something simpler.
    However, after I saved my .java file and went into my cmd, I couldnt compile it.
    I typed in, "javac HelloWorld.java", minus the quotes, and got the error, "javac is not recognized as an internal or external command, operable program or batch file"
    My java version is 1.7.0_09 and my JDK is up to date.
    Can anyone identify the problem?
    Or would it be better for me to go back to netbeans?

    Ps. What I am aiming to ultimately do is to create a simple game and I am not familiar enough with netbeans structure to do that. Thats why I decided to use notepad++.

  2. #2
    DrummondAW is offline Member
    Join Date
    Oct 2012
    Posts
    13
    Rep Power
    0

    Default Re: New to Java... Help?

    I'm not familiar with Netbeans, but have you tried Eclipse? Eclipse is simply amazing.

  3. #3
    JavaDog97 is offline Member
    Join Date
    Nov 2012
    Posts
    4
    Rep Power
    0

    Default Re: New to Java... Help?

    I have looked at it but I haven't really played around with it. For some reason installing it was a real PITA for me...

  4. #4
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,800
    Rep Power
    7

    Default Re: New to Java... Help?

    This has been asked and answered a gazillion times. You need to update your path environment variable. There are instructions on how to do this somewhere on the Oracle website.

  5. #5
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,455
    Rep Power
    20

    Default Re: New to Java... Help?

    Please go through the Forum Rules -- particularly the third paragraph.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  6. #6
    JavaDog97 is offline Member
    Join Date
    Nov 2012
    Posts
    4
    Rep Power
    0

    Default Re: New to Java... Help?

    Hey guys sorry about the annoyance, tried to get the question out in a hurry. Anyway I got it fixed and I am on the road to relearning java again! :D

  7. #7
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    7

Posting Permissions

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