Question about Sun Java Programming Language (cdj-275)
When i comile the program using syntex ''javac filename.java'' in Dos
a message display on screen- 'JAVAC' is not recognized is as an internal or external command, operable program or batch file.
Please give me solution.
The main cause of this error is you havent set the environment variables correctly, you can do it as follows
Right click on "My Computers" select properties the click "Environment variables" then under "User variables for pcname"
select new and add the following paths
click ok and its done
Posted on Jun 23, 2009
First off I assume you actually installed a JDK already before trying to compile the code. If not then you need to do that.
Secondly this error is because Windows cannot find the javac executable on your command. It could be because the JDK is missing or not installed or that Windows does not know where to look to find javac.exe from. You can simply run javac with the full path instead
"C:\Program Files (x86)\Java\jdk1.7\bin\javac" filename.java
Posted on Jan 30, 2015
U c dat u had given a proper path
C:\path=path of ur file
Posted on Mar 02, 2009
Tips for a great answer:
Feb 09, 2013 | NaviCoder IDE for Java
Sep 22, 2012 | Sun Java Programming Language (cdj-275)
Sep 13, 2011 | Sun Compilers & Programming Tools
Aug 20, 2011 | Sun Java Programming Language (cdj-275)
Dec 23, 2009 | Sun Java Programming Language (cdj-275)
Apr 22, 2009 | Compilers & Programming Tools
Apr 03, 2009 | Sun Java Programming Language (cdj-275)
Nov 10, 2013 | Sun Java Programming Language (cdj-275)
243 people viewed this question
Usually answered in minutes!
Step 2: Please assign your manual to a product: