|
Re: New to programming and in over my head!
k, i don't know if you've solved the javac issue, but one way to do it is to remove it from the environment variable path, because if you hav more than one programmin language on your system, it wont be wise, i suggest you should open a folder on your c drive, in which u shd store your programs, remembering to save it with your classname.java. then on command prompt, type the following to compile nd run the program uv written
cd\
cd "The name of the folder on your c drive in which you saved your work"
then set the path on cmd by typing the directory the jdk is in i.e
set path=c:\programfiles\java\jdk.....\bin
or rather c:\pr"click tab"\j"click tab"\j"tab"\b"tab"
then enter. the tab completes the words for you.
after that type javac, you should get a response.
I hope this helps but if not use an ide, its better, but since you are new using notepad wont be a bad idea.
success
|