NetRexx Install question

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

Re: NetRexx Install question

rvjansen
To quote the new Quick Start Guide(p. viii): 

For serious development purposes a Java SDK is recommended, as the tools found therein might assist the development process. 

So no contest here. It is just sometimes hard to have something extra on the mainframe when you're not the sysprog.

René.

On 10 aug. 2012, at 17:48, "Measel, Mike" <[hidden email]> wrote:

Hard to believe I'm going to argue with Mike and Rene today... oh well.

Ok, but, many of the free tools don't exist for USS/OMVS.  Even the tools that are there were developed by some AIX guys on crack.  

As for jar command, my favorite is to add my classes to the NetrexxR.jar and have a nice little package I can drop anywhere without dependencies.  This also keeps my users from having to install or configure anything.  

Simplicity.

And, when you want to build packages like the big boys, you gotta jar. I can create a servlet in NetRexx and package it correctly and give it to my websphere guy who won't know it's not a "real" java application.


-----Original Message-----
From: [hidden email] [mailto:ibm-[hidden email]] On Behalf Of Mike Cowlishaw
Sent: Friday, August 10, 2012 10:09 AM
To: 'IBM Netrexx'
Subject: Re: [Ibm-netrexx] NetRexx Install question


Just one example - the jar command, which is absolutely
necessary to examine a jar in the absence of winzip.

Not really -- it's just a zipped file, so any of the free zip tools will do, as
will the zip file processor included in Windows.

[But why would one want to inspect the contents of a .jar file anyway, unles
debugging a .jar file builder or or a zip.exe?]

MIke

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



_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx Install question

Fernando Cassia-2
In reply to this post by rvjansen
On Fri, Aug 10, 2012 at 10:46 AM, rvjansen <[hidden email]> wrote:
> Problem is, these change all the time. I think putting it in the installer,
> with an optional, online database, would be optimal

Exactly, hence my idea of all he hard-coded URLs to be actually
redirectors, hosted on the netrexx site. So when these urls change,
Netrexx admins only need to update the web site redirectors, not the
hard-coded URLs in the code.

Think of it like http://tinyurl.com but hosted on netrexx.org. There´s
plenty of redirector scripts out there that you could use.

FC

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx Install question

ThSITC
In reply to this post by rvjansen
Thanks, Rene, for refreshing my brain ...

... probably simply a memory overflow flipping between too many Computer
Languages,
at the minute, at least.

Slow progress with learning SVN, and preparing first release to Kenaiy,
however...
(That's the good part of the news...)
Thomas.
=====================================================================

Am 10.08.2012 20:12, schrieb René Jansen:

> Thomas,
>
> Jzos - told you.
>
> René
>
> On 10 aug. 2012, at 19:41, Thomas Schneider <[hidden email]> wrote:
>
>> H, Mike Measel:
>>
>> I am in pocess to deliver my RexxFle, etc, on Kenai.
>>
>> Am trying to incorporate VSAM file access, as well, introducing:
>>
>> open, close, scratch, etc as new methods (done)
>> recin, recout (new: ecord oriented I/O)  (in test & development mode)
>>
>> Any hints where I shall read to be able to READ/WRITE VSAM files ?
>> Any URL where I can read this up?
>>
>> Thomas.
>> ==========================================================
>>
>> Am 10.08.2012 16:06, schrieb Measel, Mike:
>>> Seldom would I argue with Rene but if you're going to do anything more serious than hello world you're gonna want the SDK.
>>>
>>> Just one example - the jar command, which is absolutely necessary to examine a jar in the absence of winzip.
>>>
>>> And if you want to do any real work on MVS  (read a vsam file for instance)  then you'll need Zee extensions.
>>>
>>> If you're an OMVS user check out BPXBATCH.  Lets you fire up your NetRexx in BATCH !!   YEAH BABY.
>>> ________________________________________
>>> From: [hidden email] [[hidden email]] on behalf of rvjansen [[hidden email]]
>>> Sent: Friday, August 10, 2012 8:16 AM
>>> To: IBM Netrexx
>>> Subject: Re: [Ibm-netrexx] NetRexx Install question
>>>
>>> This is one of the cases in which you can use the ecj-4.2.jar Java
>>> compiler that has been included with NetRexx 3.01RC3. Put it somewhere
>>> (in the same directory as NetRexxC.jar - binary upload just like
>>> NetRexxC.jar) and make sure it is on the classpath. Then add
>>> -Dnrx.compiler=ecj to the NetRexxC.sh script on the line that says java
>>> org.netrexx.process.NetRexxC, between java and
>>> org.netrexx.process.NetRexxC .
>>>
>>> Of course, installing the SDK also works - but this might not be the
>>> easier solution on a mainframe. NetRexx is able to run on a JRE system,
>>> interpreting and compiling code, nowadays.
>>>
>>> best regards,
>>>
>>> René.
>>>
>>>
>>> On 2012-08-10 13:09, Measel, Mike wrote:
>>>> Earl, looks like you have the 1.6 JRE. You need the 1.6 SDK . It's
>>>> looking for tools.jar.
>>>>
>>>> You'll also want the SDK because it has things like the jar command
>>>> that you'll want going forward.
>>>>
>>>>
>>>> http://www-03.ibm.com/systems/z/os/zos/tools/java/products/sdk601_64.html
>>>>
>>>>
>>>> FROM: [hidden email]
>>>> [mailto:[hidden email]] ON BEHALF OF Earl Hodil
>>>>   SENT: Friday, August 10, 2012 5:00 AM
>>>>   TO: [hidden email]
>>>>   SUBJECT: [Ibm-netrexx] NetRexx Install question
>>>>
>>>> Hi,
>>>>
>>>> I'm trying to install NetRexx on my z/os machine. When I tried to
>>>> compile the "hello" sample, this is what I got:
>>>>
>>>> EDH:/Z113/usr/lpp/java/examples/ibm-historic: >java
>>>> org.netrexx.process.NetRexxC
>>>>
>>>>   hello
>>>>
>>>> NetRexx portable processor, version NetRexx 3.01RC3, build
>>>> 21-20120806-0031
>>>>
>>>> Copyright (c) RexxLA, 2011,2012. All rights reserved.
>>>>
>>>> Parts Copyright (c) IBM Corporation, 1995,2008.
>>>>
>>>> Program hello.nrx
>>>>
>>>> Exception in thread "main" java.lang.NoClassDefFoundError:
>>>> sun.tools.javac.Main
>>>>
>>>>   at org.netrexx.process.RxTranslator.compile(RxTranslator.nrx:621)
>>>>
>>>>   at org.netrexx.process.NetRexxC.process(NetRexxC.nrx:239)
>>>>
>>>>   at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:165)
>>>>
>>>>   at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:154)
>>>>
>>>>   at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:152)
>>>>
>>>>   at org.netrexx.process.NetRexxC.main(NetRexxC.nrx:91)
>>>>
>>>> Caused by: java.lang.ClassNotFoundException: sun.tools.javac.Main
>>>>
>>>>   at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
>>>>
>>>>   at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:665)
>>>>
>>>>   at java.lang.ClassLoader.loadClass(ClassLoader.java:644)
>>>>
>>>>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
>>>>
>>>>   at java.lang.ClassLoader.loadClass(ClassLoader.java:627)
>>>>
>>>>   ... 6 more
>>>>
>>>> I'm running z/os 1.13 and IBM Java 6.0.1 64-bit.
>>>>
>>>> I guess there is something missing from my CLASSPATH, but I don't
>>>> know
>>>> what that is. Any help?
>>>>
>>>> Earl Hodil
>>> _______________________________________________
>>> 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/
>>>
>>>
>>
>> --
>> Thomas Schneider CEO ThSITC IT Consulting KG Erdbergstr. 52-60/1/13 1030 Wien Austria, Europe Skype ID: Thomas.Schneider.Wien Member of the Rexx Languge Asscociation (www.rexxla.org) Member of the NetRexx Developer's Team (www.netrexx.org)
>>
>> _______________________________________________
>> 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/
>


--
Thomas Schneider CEO ThSITC IT Consulting KG Erdbergstr. 52-60/1/13 1030
Wien Austria, Europe Skype ID: Thomas.Schneider.Wien Member of the Rexx
Languge Asscociation (www.rexxla.org) Member of the NetRexx Developer's
Team (www.netrexx.org)

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com
Reply | Threaded
Open this post in threaded view
|

Re: NetRexx Install question

ThSITC
In reply to this post by Tom Maynard
Tom, all:

May I join you in applauding to Rene! :-)

Mr. RexxLA President, *excellent work* (as always)...

Thanks a lot for all the time you did invest to make this happen!
Thomas.

PS: And sorry I did ask again too quickly .... Maybe I'm already getting
too old ?

Actually, I think, however, that it seems to depend whith my working
style ...

When reading and answering mails,I'm sticking with mail when a quetion
(for me) does
arise, and am not used to open another window with WikiPedia and/or
Google...

... might depedn that when I started using computers we didn't even have
screens?

But: I will *try* to improve :-) Beg your pardon, anyway!
... and: thanks for answering!
====================================================================
========================================================================

Am 10.08.2012 15:23, schrieb Tom Maynard:

> On 08/10/2012 08:16 AM, rvjansen wrote:
>> NetRexx is able to run on a JRE system, interpreting and compiling
>> code, nowadays.
>
> And this is due entirely to René's hard work and dedication. He'll
> never take credit for it, so we must all give a round of applause on
> his behalf.  <muted clapping>
>
> Hear, hear!
>
> Tom.
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>


--
Thomas Schneider CEO ThSITC IT Consulting KG Erdbergstr. 52-60/1/13 1030
Wien Austria, Europe Skype ID: Thomas.Schneider.Wien Member of the Rexx
Languge Asscociation (www.rexxla.org) Member of the NetRexx Developer's
Team (www.netrexx.org)

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com
Reply | Threaded
Open this post in threaded view
|

Re: NetRexx Install question

Tom Maynard
On 08/12/2012 09:09 PM, Thomas Schneider wrote:
> when I started using computers we didn't even have screens?

That doesn't wash, Thomas.  I also started by sitting at a keypunch --
as I think many members of this list have done.  Not beginning with a
screen in front of you does not explain your failure to keep up.

Try again.

Tom.

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx Install question

ThSITC
Will do, Tom, for sure...

Will now, *before I do ask questions*, Consult Mr. Google and Mrs.
Wikipedia...

Don't actually want *to waste your time* :-)

Thanks for both hints.

Thomas.
================================================================
Am 13.08.2012 07:05, schrieb Tom Maynard:

> On 08/12/2012 09:09 PM, Thomas Schneider wrote:
>> when I started using computers we didn't even have screens?
>
> That doesn't wash, Thomas.  I also started by sitting at a keypunch --
> as I think many members of this list have done.  Not beginning with a
> screen in front of you does not explain your failure to keep up.
>
> Try again.
>
> Tom.
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>
>


--
Thomas Schneider CEO ThSITC IT Consulting KG Erdbergstr. 52-60/1/13 1030
Wien Austria, Europe Skype ID: Thomas.Schneider.Wien Member of the Rexx
Languge Asscociation (www.rexxla.org) Member of the NetRexx Developer's
Team (www.netrexx.org)

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com
12