Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Java (https://www.askmehelpdesk.com/forumdisplay.php?f=440)
-   -   Command line is telling that "javac" is no internal or external command (https://www.askmehelpdesk.com/showthread.php?t=238414)

  • Jul 17, 2008, 05:02 AM
    ulasad
    Command line is telling that "javac" is no internal or external command
    Hi fellow I have just started java , my operating system is windows vista , I have installed java but when I give "javac" command on command line after writng the code in note pad the command line gives an error that javac is not an internal or exetrnal command... if any 1 can help
    Thanks
  • Jul 8, 2009, 10:41 PM
    archleader

    Hi,
    You need to set three environment varibales for that-
    right click on my computer ,select properties-go to advanced tab -environment variables-here you have to set three variable name and there path-
    1:variable name JAVA_HOME value=path up to the place where your jdk is
    2: varable name =classpath value up to your lib folder is
    3:varibale name =path value=path up to the lace you bin folder is
    open a new cmd prompt and type java and java c both will run fine

    Enjoy java programming.

  • All times are GMT -7. The time now is 07:28 AM.