Java error?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Java error?

Terry Norton
In class ArchText: void main(String argv[]) is not defined


That's the error I get when I try to run this NetRexx example.

I have Java 1.1.4 install.  Since I'm just learning this stuff, I don't
know why this won't run.  It compiles OK, then it fails with this
error.

Also, when I installed Java, again, I notices there's no "classes.zip"
entry in my CLASSPATH.  Should there be?


Terry Norton, VP
Claims Center Solutions
[hidden email]
Warped with OS/2

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>

Reply | Threaded
Open this post in threaded view
|

Re: Java error?

Tadashi Ohmura
Terry Norton wrote:
>
> In class ArchText: void main(String argv[]) is not defined
>
> That's the error I get when I try to run this NetRexx example.
>
> I have Java 1.1.4 install.  Since I'm just learning this stuff, I don't
> know why this won't run.  It compiles OK, then it fails with this
> error.

   ArchText  is an Applet  not an Application.
Try  "applet archtext.htm"  instead of  'java ArchText' .

> Also, when I installed Java, again, I notices there's no "classes.zip"
> entry in my CLASSPATH.  Should there be?
>
   It is all right, your Java Runtime Environment can find "classes.zip"
by itself.
--

     Tadashi Ohmura ( 大村 忠史 )
                      E-mail : [hidden email]
  5-3-4 kaijin  Funabashi City  Chiba Pref.  273 JAPAN
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>