Thanks,
Ashish :P
Ashish L. Sharma wrote:
The error that I get is "javac" is not recognized as an internal or external command. ( )
Jeff Verdegan wrote:
Ashish L. Sharma wrote:
The error that I get is "javac" is not recognized as an internal or external command. ( )
You need to set your PATH environment variable to include the bin directory where the javac executable lives. The command shell uses PATH to search for executables matching the name you type. I thought we had a FAQ on this site for that but I can't seem to find it. I'm sure if you google for something like how to set Windows PATH variable you'll find plenty of resources giving you the details.
Thanks,
Ashish :P
Carol Murphy wrote:According to the link you provided, if javac can't be found check your PATH variable. If you set it, maybe you made an error in syntax. Check there first to make sure your variable setting is correct, has no space between variables, etc
Thanks,
Ashish :P
Ashish L. Sharma wrote:
Carol Murphy wrote:According to the link you provided, if javac can't be found check your PATH variable. If you set it, maybe you made an error in syntax. Check there first to make sure your variable setting is correct, has no space between variables, etc
i'll check it and would let you know if that solves the issue!
Thanks,
Ashish :P
Jeff Verdegan wrote:
Ashish L. Sharma wrote:
The error that I get is "javac" is not recognized as an internal or external command. ( )
You need to set your PATH environment variable to include the bin directory where the javac executable lives. The command shell uses PATH to search for executables matching the name you type. I thought we had a FAQ on this site for that but I can't seem to find it. I'm sure if you google for something like how to set Windows PATH variable you'll find plenty of resources giving you the details.
Thanks,
Ashish :P
Ashish L. Sharma wrote:
Thanks for the help Carol, I tried using the PATH command and made sure that there is no typos while entering the path, but still I cannot get it to run my code. If you want I can paste the screenshots, if that help?
Ashish L. Sharma wrote:
Ashish L. Sharma wrote:
Carol Murphy wrote:According to the link you provided, if javac can't be found check your PATH variable. If you set it, maybe you made an error in syntax. Check there first to make sure your variable setting is correct, has no space between variables, etc
i'll check it and would let you know if that solves the issue!
Thanks for the help Carol, I tried using the PATH command and made sure that there is no typos while entering the path, but still I cannot get it to run my code. If you want I can paste the screenshots, if that help?
Thanks,
Ashish :P
Ashish L. Sharma wrote:
Jeff Verdegan wrote:
Ashish L. Sharma wrote:
The error that I get is "javac" is not recognized as an internal or external command. ( )
You need to set your PATH environment variable to include the bin directory where the javac executable lives. The command shell uses PATH to search for executables matching the name you type. I thought we had a FAQ on this site for that but I can't seem to find it. I'm sure if you google for something like how to set Windows PATH variable you'll find plenty of resources giving you the details.
Hi Jeff,
Thank you for the help. After setting up the CLASSPATH using the environment var helped. I am able to compile the code perfectly. Thanks a lot!
Get out of my mind! Look! A tiny ad!
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|