Hi,Friends.I am facing a problems about compiling java files.
I just start to learn Java.I installed J2SDK1.4.0_01,and then accroding to
th the tutorial of SUN web site, I tried HelloWorldApp.java. But when I compiled it,
a message says" cannot read: HelloWorldApp.java.
Seveal points need mentioned:
1. no mistake with the java file name. I know it's case sensitive.
2. In DOS prompt, I was in the directory of the java file.
3. I didn't edit path in Autoexec.bat, Because I am not sure how to do it.
Instead, I input full path to implement compiling. C:\j2sdk1.4.0_01\bin\javac filename.
When I only execute C:\j2sdk1.4.0_01\bin\javac, some help infomation shows up.
4.the java file exsits with java appendix.I saw it in dos prompt.
5. the java file is copied from Sun's tutorials, should be Ok.
I spent serveral hours on this stupid problem, but cannot fix it, So please help me.
Don't be too abstract when tell me how to do it.I am just begainning. Thanks a lot.
I just start to learn Java.I installed J2SDK1.4.0_01,and then accroding to
th the tutorial of SUN web site, I tried HelloWorldApp.java. But when I compiled it,
a message says" cannot read: HelloWorldApp.java.
Seveal points need mentioned:
1. no mistake with the java file name. I know it's case sensitive.
2. In DOS prompt, I was in the directory of the java file.
3. I didn't edit path in Autoexec.bat, Because I am not sure how to do it.
Instead, I input full path to implement compiling. C:\j2sdk1.4.0_01\bin\javac filename.
When I only execute C:\j2sdk1.4.0_01\bin\javac, some help infomation shows up.
4.the java file exsits with java appendix.I saw it in dos prompt.
5. the java file is copied from Sun's tutorials, should be Ok.
I spent serveral hours on this stupid problem, but cannot fix it, So please help me.
Don't be too abstract when tell me how to do it.I am just begainning. Thanks a lot.