Getting NetRexx to work with NT: Take 2

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

Getting NetRexx to work with NT: Take 2

Buck, Peter INS
I must be getting old.  First I can't get NetRexx to run, and then I send
that bonehead empty message.  What a way to introduce myself to the list.

I downloaded and installed SDK-Java.31 from Microsoft, and installed it,
creating c:\SDK-Java.31 and its subdirectories.  I tried to puzzle out the
NetRexx Installation instructions.  I ended up unzipping NetRexx.zip, and
then unzipping nrtools.zip, and then unzipping NetRexxC.zip and NetRexxR.zip
and copying the resulting directory structures to C:\SDK-Java.31\Lib\i386.
Then I typed in

        SET CLASSPATH=C:\SDK-Java.31\Lib\i386\NetRexxC.

Then I copied hello.nrc to C:\SDK-Java.31\Bin.  Then with that as my
currdir, I typed in

        jview COM.ibm.netrexx.process.NetRexxC hello -nocompile

--and got the following:

C:\SDK-Java.31\Bin>     jview COM.ibm.netrexx.process.NetRexxC hello
-nocompile
NetRexx portable processor, version 1.142
Copyright (c) IBM Corporation, 1998.  All rights reserved.
java.lang.ArrayIndexOutOfBoundsException
        at netrexx/lang/RexxUtil.translate (RexxUtil.nrx:62)
        at netrexx/lang/Rexx.translate (Rexx.nrx:1276)
        at netrexx/lang/Rexx.translate (Rexx.nrx:1269)
        at COM/ibm/netrexx/process/RxClassPool.register (RxClassPool.nrx:85)
        at COM/ibm/netrexx/process/RxClasser.zipfind (RxClasser.nrx:452)
        at COM/ibm/netrexx/process/RxClasser.importclasses
(RxClasser.nrx:267)
        at COM/ibm/netrexx/process/RxClasser.<init> (RxClasser.nrx:97)
        at COM/ibm/netrexx/process/RxTranslator.translate
(RxTranslator.nrx:236)
        at COM/ibm/netrexx/process/NetRexxC.main (NetRexxC.nrx:133)
        at COM/ibm/netrexx/process/NetRexxC.main (NetRexxC.nrx:53)

Has anyone already figured this out?

TIA,
Peter Buck
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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: Getting NetRexx to work with NT: Take 2

Mike Cowlishaw-2
That's a known bug in the Microsoft JIT.   I've tried rearranging
the code in the NetRexx compiler to force the JIT to compile it
correctly, but without success.  The workaround is to turn off the
JIT.

To turn off the JIT, try:

  Start -> Settings -> Control panel -> Internet -> Advanced
  Scroll down to the Java VM section
  Uncheck 'Java JIT compiler enabled'

Please report this bug to MS...!

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Mike Cowlishaw, IBM Fellow, IBM UK Laboratories
mailto:[hidden email]  --  http://www2.hursley.ibm.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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>