• Subject: Hello Worl - Java Program - Help me please...
  • From: kkalyan@xxxxxxxxxxxxxxxxx
  • Date: Mon, 6 Mar 2000 21:53:22 +0530

Hi all,

I have started with my Java/400, and I have run the Hello world that is shipped
along with the system. When I try to create my own Hello world program,  I could
not succeed in it. I have done the following.

1. I have created a source physical file with the name KKRSRC.

2. I have created a txt called Hello.java

3. I have converted that to a stream file with the same name 'Hello.java' in the
Ascii mode. (Here I dont know how to specify the path for the stream file that
is going to get created)

4. Also I tried to set the class path. In fact I created one directory called
Kalyan, but I dont know how to place the stream file into that directorty.

5. I tried to give the command javac Hello.java

6. It gives an error message saying 'Cant read Hello.java'

Can some one please guide me, as it is the start for me.



| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.