Archive for the ‘Java’ Category

MS-DOS javac not recognized

Problem:

Compiling the .java using MS-DOS gets an error with “javac” is not recognized as an internal or external command, operable program or batch file.

Solution:

To solve this error update the Path Variable by following the instruction below.

  1. Rigth click on My Computer and select Properties.
  2. Select Advanced Tab.
  3. Select Evironement Variables
  4. On the System variables group box find and select the Path then click  edit button.
  5. Then add the location of the java bin usually located at “c:\Program Files\Java\jdk1.6.0_\bin\” by separating it with “;” without double quotes

sysvariables

    No Comments



    SetPageWidth