Results 1 to 4 of 4

Thread: Javac in Windows

  1. #1
    Join Date
    Mar 2009
    Posts
    25

    Javac in Windows

    Hello,

    Trying to compile the java program with the javac command line but I mark "javac is not recognized as internal or external command, program or file."

    I try to find answer using Google but without success.

  2. #2
    Join Date
    Mar 2008
    Posts
    198

    Re: Javac in Windows

    Hello,

    As you create or modify environment variables PATH and JAVA_HOME?

  3. #3
    Join Date
    Dec 2008
    Posts
    50

    Re: Javac in Windows

    The folder that contains javac.exe must be in your PATH environment variable. Example:
    C:\>SET PATH=%PATH%;C:\Java\jdk1.6.0_12\bin
    Have you installed the JDK (Java Development Kit)?

  4. #4
    Join Date
    Mar 2008
    Posts
    198

    Re: Javac in Windows

    The environment variable PATH defines for the OS where the compiler.

    You simply declare it to the OS with the command if kuzco to kindly provided

    //changing the directory of course depending on where you installed your jdk

Similar Threads

  1. What is default target for javac in JDK 1.4
    By Max-well in forum Software Development
    Replies: 5
    Last Post: 24-07-2010, 03:15 AM
  2. Error while compiling: javac= "cannot find symbol"
    By Harper 21 in forum Software Development
    Replies: 5
    Last Post: 07-01-2010, 08:58 AM

Tags for this Thread

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
  •  
Page generated in 1,713,970,380.86432 seconds with 17 queries