Some breakthrough:Installing NetRexx on Win98

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

Some breakthrough:Installing NetRexx on Win98

Sandeep Desai-2
Hi all,

I did get some breakthrough while installing NetRexx on my PC, in Windows 98 environment.But still some help is required..Read this out.

I would like to thank Satguru for providing me with the commands

1.  I tried out the following command.

    java -ms4M -cp e:\jdk1.2.2\lib\NetRexxC.zip COM.ibm.netrexx.process.NetRexxC
    hello.nrx

    The heartening thing is that the above command created a Hello.java file.
    However,it was still giving some errors (probably, run-time).

    The output of the command is as follows:

     NetRexx portable processor, version 1.151
     Copyright (c) IBM Corporation, 1999.  All rights reserved.
     Program hello.nrx
     Exception in thread "main" java.lang.NoClassDefFoundError: sun/tools/javac/Main
     at COM.ibm.netrexx.process.RxTranslator.compile(RxTranslator.nrx, Compiled Code)
     at COM.ibm.netrexx.process.RxTranslator.compile(RxTranslator.nrx:389)
     at COM.ibm.netrexx.process.NetRexxC.main2(NetRexxC.nrx, Compiled Code)
     at COM.ibm.netrexx.process.NetRexxC.main(NetRexxC.nrx:54)

     My AUTOEXEC.BAT has the following classpath:

     SET CLASSPATH =.;"e:\jdk1.2.2\lib\tools.jar"
     SET CLASSPATH =%CLASSPATH%;"e:\jdk1.2.2\lib\NetRexxC.zip"

     Does the above command, which created Hello.java signify that I will have to reset
     my CLASSPATH?

2. I also tried the following command at e:\jdk1.2.2\lib, where NetRexxC.zip is located.

     java -ms4M -cp .;NetRexxC.zip hello

    It was giving the following error:
    Exception in thread "main" java.lang.NoClassDefFoundError: hello

    Does this mean, that my NetRexx*.* files are corrupted?

    The sizes of NetRexx files shown in the DOS editor are as under:

    1. NetRexxC.zip (576,141 bytes)
    2. NetRexxR.zip (69,212 bytes)
    3. NetRexx.zip   (746,688 bytes)

    If the files are corrupt, please let me know if there are sites other than hursley.ibm.com,
    from where I could download this toolkit.

    I have now dowloaded from hursley.ibm.com, twice but I am still not sucessful.

    Thanks, once again to all the help extended to me so far,

    Sandeep Desai

Reply | Threaded
Open this post in threaded view
|

Re: Some breakthrough:Installing NetRexx on Win98

Mike Cowlishaw-2


I think your problem may be the double-quotes in your SET CLASSPATH statements.
If you type the command

  SET

in an MS-DOS prompt, you'll see what the variable actually gets set to, and it
probably should show any double quotes.

On the second question: you would need the hello.class file to be in the current
directory .. but you don't have that yet as the javac compiler couldn't be
found.

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