[Java]Help with startup..
I have finished with my first java app. (Obviously a Hello World! thing, starting small)
To compile it, it says type this into the Command Prompt.
PHP Code:
javac myfirstjavaprog.java
I type that in but it says "javac is not a recognized command."
If I drag the javac.exe from "C:\Java\JDK\bin" it works fine.
How do I get the cmd to recognize "javac" without having to drag it into the cmd?
What should I do?
Anyhelp would be good.
~Joser
Re: [Java]Help with startup..
You have to set the path to that java bin folder
this outta help -> http://www.fnal.gov/docs/products/ja...vironment.html
But my advice, get an IDE like Eclipse (yay) or NetBeans or something else -it will make things a lot easier
Re: [Java]Help with startup..
Re: [Java]Help with startup..
your supposed to add your java bin path to your %PATH% variable.