Hello adi,
I think the problem is with the classpath
just try this
java -classpath . ReadWriteFile.java
assuming you have both the classes in present dir and used default package
Hope it helps
Vijay
> Dear Friends,
> I am newbie to java programming.I have have two classes named
[quoted text clipped - 8 lines]
> in sun.com and everywhere But please specify me exact path and how to
> download.Please help me
bhvijaykumar - 08 Feb 2006 12:57 GMT
Sorry the command is java -classpath . ReadWriteFile
no .java
> Hello adi,
> I think the problem is with the classpath
[quoted text clipped - 20 lines]
>> in sun.com and everywhere But please specify me exact path and how to
>> download.Please help me
> Dear Friends,
Please don't use such chum up greetings.
> both codes are absolutely perfect no errors and both files are written
> in same directory
Experienced programmers will never claim absolute perfection for any
non-trivial piece of code.
> please anybody give solution for this.And please tell me where i can
> download jdk1.0,,jdk1.1and importantly jdk1.2 softwares I have searched
> in sun.com and everywhere But please specify me exact path and how to
> download.Please help me
This stuff is so old, it already smells. Sun doesn't provide a public
version of 1.0 any more, and they don't maintain 1.1 and 1.2 any more
(end-of-life status, no bug fixes, no security fixes, etc.).
As for downloading the smelly stuff, use the first drop-down box on
http://java.sun.com/downloads/
Downloads might be a little bit slow these days, since Sun just put out
new 1.3 and 1.4 versions with something like eight security fixes. But
even these are old. You might want to try 1.5 aka 5.0, or even the beta
1.6 aka 6.0.
/Thomas

Signature
The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/
Roedy Green - 08 Feb 2006 16:36 GMT
On Wed, 08 Feb 2006 16:54:45 +0100, Thomas Weidenfeller
<nobody@ericsson.invalid> wrote, quoted or indirectly quoted someone
who said :
>> Dear Friends,
>
>Please don't use such chum up greetings.
I notice that people from Italy and India always start posts by saying
"my name is x" sometimes with a bit of background information about
them.
I remember doing business in India and Indonesia. It would be
unthinkable not to become acquainted first. To them, we must seem
rude launching into our problems or the net without any introductions.
One of my peeves is perfunctory thank yous, especially a whole post
containing nothing but a thank-you, but I realise in most cultures
they are required. I figure they should be used sparingly so that
when they come they have meaning.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.