Problem Installing netrexx

Problem Installing netrexx

Post by jerry chap » Sun, 01 May 2005 21:30:51

I downloaded netrexx from IBM, and am trying to install it. I have been
using the file as my guide. The first ting it says to do is
enter the command java -version. When I do that I get: java version
"1.4.1_02". The next requirement is to copy NetRexx\lib\NetRexxC.jar to
jre\lib\ext. In my java installation there is no directory ext under lib so
I put NetRexx\lib\NetRexxC.jar directly under lib. I then compledted the
rest of the steps. When I entered java
hello I got +++ Error: Cannot find file 'hello.nrx'. When I cd'd to the
directory that contained hello.nrx and reentered the command I got Exception
in thread "main" java.lang NoClassDefFoundError:
COM/ibm/netrexx/process/NetRexxC .
Any suggestion on how to fix my installation?

Problem Installing netrexx

Post by Michel Cas » Tue, 03 May 2005 16:43:51

There are 3 types of Java classes: bootstrap, extension, and user classes.

The NetRexx installation guidelines currently want to treat the NetRexx
packages as extension classes.

In Windows, to locate the jre\lib\ext directory, enter:

dir C:\*.jar /B/S

But you can still use the older approach, i.e. treat NetRexx as user

Set the CLASSPATH environment variable to point to the current directory and
the NetRexxC.jar file.

Under Windows, this may be:

set CLASSPATH=.;C:\Program Files\NetRexx\lib\NetRexxC.jar




Michel Castelein - Arcis Services

MVS-OS/390-z/OS system engineering & education


phone: +32 - 2 534 49 77


Problem Installing netrexx

Post by Mark 'Kami » Tue, 03 May 2005 17:26:24

jerry chapman < XXXX@XXXXX.COM >
wrote on Sat, 30 Apr 2005 12:30:51 GMT:

As you've discovered, Java can't find it there. You need to put it in
"jdk1.4.1_02\jre\lib\ext", not "jdk1.4.1_02\lib".

There is an ext dir under jre/lib, but not under lib.

Correct, it will only find source code that is in your classpath,
which normally includes "." (the current directory).

<a href=" ~kamikaze/"> Mark Hughes </a>
"Gibson and I dueled among blazing stacks of books for a while. [...] The
streets were crowded with his black-suited minions and I had to turn into a
swarm of locusts and fly back to Seattle." -Neal Stephenson, /. interview