What is wrong here? I have the Java directories listed just like they came out-of-the-box. Must be something stupid (of me).
13:17:03 Wed Oct 12 ken-kleins-imac 484 ~/REXX/NetRexx/bin --> nrc QandA Executing /Users/imjahc44/REXX/NetRexx/bin/nrc from /Users/imjahc44/REXX/NetRexx/bin NetRexx portable processor, version 2.05 Copyright (c) IBM Corporation, 2005. All rights reserved. Program QandA.nrx [pass 2, over 3 clauses] +++ Error: The class 'java.lang.Object' cannot be found Compilation of 'QandA.nrx' failed [one error] 13:17:13 Wed Oct 12 ken-kleins-imac 484 ~/REXX/NetRexx/bin --> echo $CLASSPATH /Users/imjahc44/REXX/NetRexx/bin:/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin 13:17:32 Wed Oct 12 ken-kleins-imac 485 ~/REXX/NetRexx/bin --> _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
<base href="x-msg://5013/">hi Rodger,
the quickest answer I can giev you is that 3.01RC2, available from http://netrexx.org , will probably fix this immediately. The second quickest answer is: /System/Library/Frameworks/JavaVM.framework/Classes/classes.jar which needs to be on the class path. Also, the classpath needs full library (.jar) names, it does not work like $PATH where you can specify directories. Let us know how it goes. best regards, René Jansen. On 12 okt. 2011, at 19:26, Rodger Rainier wrote:
_______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
Thanks!! It worked. I do have the 3.01RC2 but I had to fix the line endings on the scripts and after specifying the whole file name in the classpath it worked. I had not run across that in any of the doc. They just say put this file in there. I could have sworn that I have just directories specified on my old XP box and z/os unix. I also had popped the framework file into the classpath.
From: [hidden email] Subject: Re: [Ibm-netrexx] rookie classpath netrexx environment question Date: Wed, 12 Oct 2011 21:08:39 +0200 To: [hidden email] hi Rodger, the quickest answer I can giev you is that 3.01RC2, available from http://netrexx.org , will probably fix this immediately. The second quickest answer is: /System/Library/Frameworks/JavaVM.framework/Classes/classes.jar which needs to be on the class path. Also, the classpath needs full library (.jar) names, it does not work like $PATH where you can specify directories. Let us know how it goes. best regards, René Jansen. On 12 okt. 2011, at 19:26, Rodger Rainier wrote:
_______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
Free forum by Nabble | Edit this page |