problem compiling with jview

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

problem compiling with jview

Satguru Srivastava
I get the following error message while trying to create the java file from a netrexx pgm using MS java vm Jview.
=================================================
jview /cp .;c:\NetRexx\lib\NetRexxC.zip COM.ibm.netrexx.process.NetRexxC -nocompile hello.nrx
NetRexx portable processor, version 1.151
Copyright (c) IBM Corporation, 1999.  All rights reserved.
java.lang.ArrayIndexOutOfBoundsException
        at netrexx/lang/RexxUtil.translate
        at netrexx/lang/Rexx.translate
        at netrexx/lang/Rexx.translate
        at COM/ibm/netrexx/process/RxClassPool.register
        at COM/ibm/netrexx/process/RxClasser.dirfind
        at COM/ibm/netrexx/process/RxClasser.importclasses
        at COM/ibm/netrexx/process/RxClasser.importclasses
        at COM/ibm/netrexx/process/RxClass.<init>
        at COM/ibm/netrexx/process/RxParser.parseprogram
        at COM/ibm/netrexx/process/RxTranslator.translate
        at COM/ibm/netrexx/process/NetRexxC.main2
        at COM/ibm/netrexx/process/NetRexxC.main

ERROR: java.lang.ArrayIndexOutOfBoundsException
=================================================
Hello.nrx is the simple netrexx program containing
say "Hello World".

I have no problem when using sun Java vm - Java

What am I missing?


Thanks
Satguru

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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: problem compiling with jview

Mike Cowlishaw-2


This is due to a bug in the jview JIT -- if you turn the JIT off the problem
will no longer occur (I'm told).

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Mike Cowlishaw, IBM Fellow
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>

Reply | Threaded
Open this post in threaded view
|

Re: problem compiling with jview

Satguru Srivastava
In reply to this post by Satguru Srivastava
Turning off JIT solved the problem.

It took me sometime, though,  to find out how to turn off JIT.

Here's what I found in one of MS FAQs on their Java SDK

==================================================================================
Q. How can I enable the Java JIT compiler for my application?

A. If you have enabled JIT in Internet Explorer, your applications will also run in JIT compiler mode.
To enable JIT in Internet Explorer choose View, Options, Advanced, Enable Java JIT compiler.

In the registry JIT can be enabled by setting the following to 0x00000001:

     HKEY_Current_User\Software\Microsoft\Java VM\EnableJIT

==================================================================================

Thanks
Satguru


>>> <[hidden email]> 12/22/99 03:17AM >>>


This is due to a bug in the jview JIT -- if you turn the JIT off the problem
will no longer occur (I'm told).

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Mike Cowlishaw, IBM Fellow
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>

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