cannot read abc.java

thank you kurt for your help. I still unable to solve the problem.

I had download the jdk1.1.8 from java.sun.com sucessfully and setup sucessfully. i had also path

C: /jds1.1.8/bin.

BUT i don't understand why i write program to a notepad.

but after save as abc.java, the icon still show as notepad icon and i know if in java format, the icon should be different. i believe theremay be some patchfileavailable or configuration file needed to overcome this problem.

i pc is winme. the error code when i type

c:/jdk1.1.8/bin javac abc.java

it shows"Can't read the file abc.java"

[637 byte] By [tanpoh] at [2007-9-26 1:24:43]
# 1
When u save the txt file but the name in speaach marks for exampleif i save it as abc.java i would save it like that "abc.java"
DJava123 at 2007-6-29 1:05:12 > top of Java-index,Archived Forums,Java Programming...
# 2
when you do a 'save as' in notepad choose for all filetypes instead of Text. Then type in the full filename abc.java and save. I'd get something better than notepad btw.
esmo at 2007-6-29 1:05:12 > top of Java-index,Archived Forums,Java Programming...
# 3
your problem is quite frequest report by ppl.You can go to command prompt and there u can see the extension will be still notepad ( abc.java.txt).so u can rename abc.java.txt->abc.java.Wish u best luck;)
waqar2004 at 2007-6-29 1:05:12 > top of Java-index,Archived Forums,Java Programming...