Results 1 to 3 of 3
  1. #1
    adm
    adm is offline Member
    Join Date
    Jan 2012
    Posts
    1
    Rep Power
    0

    Default 'javac' is not recognized

    Hi,
    I have downloaded java and it showed me that installation is done. When I tried to compile Helloworld.java
    following error shows up.

    C:\Users>javac Helloworld.java
    'javac' is not recognized as an internal or external command,
    operable program or batch file.

    OS is Vista, where did I go wrong?

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,197
    Rep Power
    19

    Default Re: 'javac' is not recognized

    Quote Originally Posted by adm View Post
    I have downloaded java
    JRE or JDK?

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

  3. #3
    hqt
    hqt is offline Member
    Join Date
    Nov 2011
    Posts
    27
    Rep Power
    0

    Default Re: 'javac' is not recognized

    Oh. Maybe you haven't set your java installation in your enviroment variable, yet. If you use window Vista, go to Properties (Right click on my computer). choose advanced setting. >> Eviroment Variable >> Path >>Edit.

    after that, insert your Java installation directory .

Similar Threads

  1. Can't use javac in command line (not recognized)
    By wayneluu91 in forum New To Java
    Replies: 11
    Last Post: 08-07-2010, 02:22 PM
  2. javac is not recognized command...
    By javastudent87 in forum New To Java
    Replies: 6
    Last Post: 07-30-2010, 05:50 AM
  3. Javac not recognized
    By OscarLiu in forum New To Java
    Replies: 8
    Last Post: 06-29-2010, 03:10 PM
  4. Javac is not recognized?
    By Java idiot in forum New To Java
    Replies: 4
    Last Post: 08-03-2009, 06:54 PM
  5. javac command not recognized
    By sunshine39 in forum New To Java
    Replies: 7
    Last Post: 03-04-2009, 03:54 AM

Posting Permissions

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