Results 1 to 4 of 4
  1. #1
    farva74 is offline Member
    Join Date
    Feb 2009
    Posts
    2
    Rep Power
    0

    Default [SOLVED] Javac is not a recognized as an interal or exteral command

    I am unable to run javac and i have tried everything i know to do. I have JDK6 and i i can't get it to work. I haven't done anything with my variable because i don't know what to do with them or change them too.

    Here are my variables
    CLASSPATH
    .;C:\Program Files\Java\jre6\lib\ext\QTJava.zip

    PATH
    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Common Files\Roxio Shared\DLLShared;C:\Program Files\QuickTime\QTSystem\

    If there anything more you need to know let me know.

  2. #2
    mtyoung is offline Senior Member
    Join Date
    Dec 2008
    Location
    Hong Kong
    Posts
    473
    Rep Power
    6

    Default

    add "locationOfJDK\bin"; to path

    or you go to that bin, you can run javac inside that bin directory

  3. #3
    makpandian's Avatar
    makpandian is offline Senior Member
    Join Date
    Dec 2008
    Location
    Chennai
    Posts
    396
    Rep Power
    6

    Default

    set classpath=c:\program files\java\jdk1.6.0_11\bin

    run above command and compile your file.
    Mak
    (Living @ Virtual World)

  4. #4
    farva74 is offline Member
    Join Date
    Feb 2009
    Posts
    2
    Rep Power
    0

Similar Threads

  1. Replies: 28
    Last Post: 10-26-2010, 04:39 AM
  2. Replies: 13
    Last Post: 09-17-2009, 07:56 AM
  3. javac command not recognized
    By sunshine39 in forum New To Java
    Replies: 7
    Last Post: 03-04-2009, 03:54 AM
  4. Replies: 8
    Last Post: 11-18-2008, 09:21 AM
  5. 'javac' is not recognized as an internal or external command
    By sam_1032002@btopenworld.c in forum New To Java
    Replies: 3
    Last Post: 10-18-2008, 02:40 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
  •