0
CMD error while compiling
21 Answers
+ 6
1. Check whether java is installed properly
2. Go to start , search environment variables, click new
Name :- PATH
location :- (paste location of your java )
+ 3
Be more specific..
Make sure u have java installed on your PC.
check it by using this command
java -version
space is important between java and - .
if ur system has java it will show you the JRE version.
+ 2
where ever you want...but set that path in cmd before compiling
+ 2
Example like if u have saved your .java files in your c drive in a folder named programs .
type ""cd c:\programs"" without quotes in cmd and the path should be changed ...
Hope you understand :0
+ 2
Here this might help you
http://java.meritcampus.com/core-java-topics/how-to-compile-and-run-java-program-in-cmd-prompt
+ 2
if u got windows 7...u can try what LEGOL said..
if u have xp u need to change path manually ..refer above link..
+ 1
More details please 🙃
0
Google this: adding Java to PATH I think it would help
0
I am a beginner to Java. I saved ExampleProgram.java in the location E:\Esakki\JAVA. While try to give javac code in CMD it shows "...is not recognized as an internal or external command, operable program or batch file."
0
Java compiler requires to be added to PATH to work
0
Also you need Java development kit
0
make sure you have installed jdk and set the path at environment variables
0
my Java se build 1.8.0_131_b11
0
where should I save .Java file
0
javac: file not found: Example for am.java
usage: javac <options> <source files>
use -help for a list of possible options
0
I think I know what's wrong. Open folder where you saved file. Hold shift and press right mouse button. Then click open command prompt here
0
guys plz don't get irritated 'coz f ma Qs. I am totally new to this. kly guide me
0
guys plz don't get irritated 'coz f ma Qs. I am totally new to this. kly guide me
0
windows 10 original os