On 1/3/23 23:54, René Jansen wrote:
yes. https://github.com/RexxLA/NetRexx
The problem there is, you have lots of other things on CLASSPATH if you do any
real development. Also, someone might not use the nrc script at all - I don’t,
because I just have an alias nrc=“java org.netrexx.process.NetRexxC”.
I don't set a global CLASSPATH environment variable! That's completely
bonkers.
Also, when used in environments without a Java compiler (and we see those often
in companies, only a JRE) use want NetRexxF.jar because that includes the
ecilpse Java compiler. Everything is documented, of course.
But I am open to suggestions! At least it should add a $CLASSPATH, not only the
NetRexxC.jar
Why doesn't it just use an executable jar and use "-jar"?
best regards,
René.
On 1 Mar 2023, at 16:39, David Crayford <[email protected]> wrote:
On 1/3/23 23:13, David Crayford wrote:
I'm happy to verify on my PC but I found NetRexx to be hopeless on Linux. I've
added the /bin to my PATH but it's failing because it can't load the NetRexxC
classes even though I have set the /lib directory on my CLASSPATH. Must be
optimized for Windows weenies.
Argghhh. Let me know when it's fixed. I hate candy machine interfaces. It's so
easy to set the working directory relative to the binary in *nix systems!!
java org.netrexx.process.NetRexxC $*
if test $? -eq 0; then
if test "$netrexx_run" = "yes"; then
echo "Running $1..."
if [ ! -f $1".class" ]; then
echo "-run error: class file not found - do not add .nrx to
name"
exit
fi
java $1
fi
fi
On 1/3/23 22:35, René Jansen wrote:
by the way, thanks for that url. It seems my NetRexx smokes your Python with
numpy - had not expected that.
Note that NetRexx runs on z/OS and is well-maintained.
➜ solution_2 git:(drag-race) ✗ PrimeNetRexx.class
joss_NetRexx;8766;5.000282;1;algorithm=base,bits=8,faithful=yes
On 1 Mar 2023, at 14:16, David Crayford <[email protected]> wrote:
❯ python3 PrimePy.py
Passes: 6769, Time: 5.000584452878684, Avg: 0.0007387478878532551, Limit:
1000000, Count: 78498, Valid: True
emillynge_numpy; 6769;5.000584452878684;1;algorithm=base,faithful=no,bits=8
best regards,
René.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN