Complied NetRexx Program

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

Complied NetRexx Program

Casale, Vincent

Hello:

I wrote, compiled and ran a NetRexx program on my windows NT machine then
FTP'd the file to Os/390 and tried to run it there I received this error:

java.lang.NoClassDefFoundError: NetRexx/lang/Rexx
        at                                      

I thought that once a class file was generated that I could run the file
anywhere?

Vincent Casale
S390 Web Engineering Group, Mgr.
201-524-2034
[hidden email]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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: Complied NetRexx Program

Charles F. Simons
Hello Vincent,

You need to have NetRexxC.zip on the classpath of the machine your running on, or
you need to "add it" to the classpath at runtime.

When you compile a netrexx program it relies on many objects & methods that are
in the NetRexxC module.

Hope this makes sense.

Charles F. Simons
Software Engineer
La Jolla, California



"Casale, Vincent" wrote:

> Hello:
>
> I wrote, compiled and ran a NetRexx program on my windows NT machine then
> FTP'd the file to Os/390 and tried to run it there I received this error:
>
> java.lang.NoClassDefFoundError: NetRexx/lang/Rexx
>         at
>
> I thought that once a class file was generated that I could run the file
> anywhere?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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: Complied NetRexx Program

mark_cathcart
In reply to this post by Casale, Vincent


Although Charles is strictly correct when he says you need the
NetRexxC.zip, actually the NetRexxR.zip is enough. I've tried to tackle
this in my fledgling NetRexx and OS/390 FAQ.

NetRexxC.zip provides compiler and runtime for NetRexx. NetRexxC actually
contains the runtime. There are redistribution restrictions on
NetRexxC.zip.

NetRexxR.Zip provides the runtime classes only, check your license
agreement but my reading says there are no redistribution restrictions.

Mark Cathcart, IBM S/390 EMEA, Technical Staff Member
Consultant IT Specialist, Software Strategy(New Technology, Java, XML)
Rosanne House, Bridge Road, Welwyn Garden City, Herts UK, AL8 6UB
Phone: +44 (0)1707 363089 Tie:453089 Fax: +44 (0)1707 338732
Home page: http://www.ibm.com/s390/corner


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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: Complied NetRexx Program

dIon Gillard/Multitask Consulting/AU
Your code is using the netrexx run time....install it (NetRexxR.zip) into
the java environment on your OS/390.

--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
Play:        http://www.trongus.com


Hello:

I wrote, compiled and ran a NetRexx program on my windows NT machine then
FTP'd the file to Os/390 and tried to run it there I received this error:

java.lang.NoClassDefFoundError: NetRexx/lang/Rexx
        at

I thought that once a class file was generated that I could run the file
anywhere?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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>