hello, I am new to java programming. I installed the j2sdk on my computer and everything seems fine. I can go to the dos prompt and run an application. I can't seem to compile my java files. When I type javac plus the java file name it returns "Bad command or file name" is my classpath and /or path in my autoexec.bat wrong?
If u use windows system, right click on My Computer --> Properties --> Advanced --> Environment Variables, find the variable named "Path", and double click on it. In the variable field, add C:\j2sdk1.4.2_04\bin;