Results 1 to 3 of 3
  1. #1
    MrSplosion is offline Member
    Join Date
    Apr 2011
    Posts
    1
    Rep Power
    0

    Unhappy javac not being recongnized

    I was following this tutorial until in the command prompt I typed "javac HelloWorld.java" then received this error "'javac' is not recognized as a internal or external command, operable program or batch file."
    Why am I getting this message?? and how do I fix it? btw i don't even know what this so called "javac" is.

    Thanks

  2. #2
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,565
    Rep Power
    12

    Default

    I'm not sure what the tutorial was. But check out the one in Oracle's Tutorial.

    In particular there is a page of Common Problems (and their solutions). Yours is number one on the list.

    The reference they make to the installation instructions is this, I think. Scroll down to "4. Update the PATH variable (Optional)".

  3. #3
    ozzyman's Avatar
    ozzyman is offline Senior Member
    Join Date
    Mar 2011
    Location
    London, UK
    Posts
    797
    Blog Entries
    2
    Rep Power
    4

    Default

    btw i don't even know what this so called "javac" is.
    javac is the Java Compiler program which converts your java code into java bytecode (.class file) so that it can be run in the Java Runtime Environment

Similar Threads

  1. need help with javac
    By pawanmutalik in forum New To Java
    Replies: 10
    Last Post: 02-03-2011, 06:56 AM
  2. javac
    By PhilArmstrong in forum New To Java
    Replies: 31
    Last Post: 11-21-2009, 03:46 PM
  3. javac?
    By sardare in forum Eclipse
    Replies: 1
    Last Post: 06-14-2008, 02:06 AM
  4. javac DOS
    By rdunne in forum New To Java
    Replies: 3
    Last Post: 01-01-2008, 11:49 AM
  5. Help with javaC
    By Daniel in forum New To Java
    Replies: 2
    Last Post: 07-04-2007, 02:44 PM

Tags for this Thread

Posting Permissions

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