Re: getting crazy with this java-classpath-lib-doesnt-work-whereever-i-put NetRexxC.jar-thing :-((((

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

Re: getting crazy with this java-classpath-lib-doesnt-work-whereever-i-put NetRexxC.jar-thing :-((((

ThSITC
Hello Christian, and all,

The major cause o all those issues is that the Java "tools.jar", which
does contain the Java Compiler, must be *explicitely* moved to the
...\lib\ext
directory, after the installation of the Java SDK itself.

At least this has been so when I did last time installt a new Java on my
machines.

Concurrenly, *The Java Doc* still does recommend *to use* the ...\lib\ext\
subdirectory to install any *Java applications* as the *recommended
technique* !!! :-)

I do know, however, that the usage of Slava Pestov's jEdit (download
from www.jEDIT.org), and David Requena's jEDIT NetRexxDE plugin as well
as Kermit Kiser's NetRexxScript  JEdit plugin would require to
duplicately store NetRexxC.jar in the proper jEdit subdirectory as well ...

Christian, and all,

Please do note thatthere *are* a choice of IDE's available for Netrexx:

-- jEDIT
-- Eclipse

with builtin Netrexx Syntax highlighting etc....

You might of course also use any editor of your choice, but I personally
did switch from UltraEdit (which does require a Licence) to jEdit (which
is free, and nowadays efficient enough with current Computer powers, at
least for my personal, error-prone (listen, Chip Davies :-)) typing
speed ...

Also not, that rene Vncent Jansen, President RexxLA, is just bringing
the doc's *up to date*, as well as preparing the *official release*
of the newest version of NetRexxC  (as well as Jerry Mac Brides nrjPipes,
which does allow you to use PIPE's in Netrexx, as you might have used
on IBM CMS systems, for instance).

Vladimir, old frien, and Rexx Expert, I'm copying you for this info.
It might be time that you do have a look at Netrexx. It's now open
sourced since July 2011!

Sincereley,
Thomas Schneider.
==========================================================.

   .
Am 02.05.2012 03:38, schrieb [hidden email]:

> Hi @all,
>
> first - thank you very much for your help. I'm happy, that you are out
> there - otherwise I wouldn't had a chance to get it running, because all
> the documentation I found doesn't helped me in this case.
> May be, because documentation might be "too old" or at least not up-to-date
> fitting to my environement (Windows Server 2008 R2 x64 with Java 1.6.0_30),
> i don't know.
>
> Regarding the classpath-thing I must tell, that any testing didn't succeed:
> - setting classpath like this: set CLASSPATH=C:\NetRexx\lib
> \NetRexxC.jar;C:\NetRexx\lib\tools.jar
> doesn't work!
> - setting classpath in NetRexxC.bat like this: java -classpath C:\NetRexx
> \lib\NetRexxC.jar;C:\NetRexx\lib\tools.jar org.netrexx.process.NetRexxC
> <myfilename.nrx>
> doesn't work!
> - copying the NetRexxC.jar and tools.jar (from JAVA SDK - haven't found
> this in documentations) to different paths
> doesn't work!
>
> The only thing which made it working was to move NetRexxC.jar and tools.jar
> to C:\Program Files (x86)\Java\jre6\lib\ext as recommended from Thomas!
> Thank you very much!
>
> Because i'm a classic REXX programmer without any oo and java-knowledge
> it's hard to get something coded and running. That's why, I did the next
> step: using Rexx2Nrx
> Same here - putting Rexx2Nrx.jar to C:\Program Files (x86)\Java\jre6\lib
> \ext was the solution to run it.
> But i had to modify Rexx2Nrx.bat to modify the java-calls removing the
> -Xms32MB parameter because it causes an error message saying something like
> "could not establish java vm"
>
> But then, after approx 48 hours of trying and experimenting, I had a little
> testprogram working: written in classic procedual rexx ->  Rexx2Nrx ->  nrc
> ->  Java.
>
> Thanks again, now later on today I'm going to code that, what I actually
> wanted to do. I'm sure some new questions will come up ...
>
>
> Kind regards,
> Christian Schaper
>
> ---
>
>
>
>
>
>
>               Thomas Schneider
>               <Thomas.Schneider
>               @thsitc.com>                                                To
>                                         IBM Netrexx
>               01.05.2012 22:57<[hidden email]>
>                                                                          cc
>
>               Please respond to                                     Subject
>                  IBM Netrexx            Re: [Ibm-netrexx] getting crazy
>               <ibm-netrexx@hurs         with this
>                 ley.ibm.com>             java-classpath-lib-doesnt-work-wher
>                                         eever-i-put
>                                         NetRexxC.jar-thing :-((((
>
>
>
>
>
>
>
>
>
>
> Hi Christian,
>
>      You will have to put the NetRexxC.jar into the ...\lib\ext\
> subdirectory of
> of your proper JDK.
>
>      I use this technique for years to avaid the need o any classpath at
> all!
>
> When that does not work, give me a phone call tomorrow, 10:00  - 19:00
> o'clock: +43/1/20 85 195
>
> and we can check it out whilst you and I are on the computer :-)
>
> Thomas Schneider, Vienna, Austria.
> ========================================================
>
>
> Am 01.05.2012 18:30, schrieb [hidden email]:
>> Hi @all,
>>
>> still trying to get NetRexx running - but no way - i'm thinking of the
> good
>> old past times where REXX just runs by typing rexx<rexx-programfilename>
>>
>> My environment:
>> I use the newest package called NetRexx-3.01RC2.zip
>> OS installed: Windows Server 2008 R2 x64
>> Java-Version used: java version "1.6.0_30"
>> Java(TM) SE Runtime
> Environment (build
>> 1.6.0_30-b12)
>> Java HotSpot(TM) Client VM
> (build 20.5-b03, mixed
>> mode, sharing)
>> Java is installed here: C:\Program Files
> (x86)\Java\jre6
>> The NetRexxC.jar ist here: C:\Program Files (x86)\Java\jre6\lib
>> NetRexx is installed here: C:\NetRexx
>> my PATH-variable contains: ...;C:\NetRexx\bin
>>
>> There is no CLASSPATH-variable and according to some java-forums it seems
>> not recommended to create one anymore.
>>
>> I'm working page per page with the book "NetRexx User Guide September
>> 1st,2011 Version 3.01", currently hanging on page 21.
>> If i try to run the hello.nrx program, this happens:
>>
>> C:\NetRexx\examples\ibm-historic>nrc -run hello.nrx
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> org/netrexx/process/NetRexxC
>> Caused by: java.lang.ClassNotFoundException: org.netrexx.process.NetRexxC
>>           at java.net.URLClassLoader$1.run(Unknown Source)
>>           at java.security.AccessController.doPrivileged(Native Method)
>>           at java.net.URLClassLoader.findClass(Unknown Source)
>>           at java.lang.ClassLoader.loadClass(Unknown Source)
>>           at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>>           at java.lang.ClassLoader.loadClass(Unknown Source)
>> Could not find the main class: org.netrexx.process.NetRexxC.  Program
> will
>> exit.
>>
>> Does anyone can help me?
>>
>> Thanks in advance,
>>
>> Kind regards,
>> Christian Schaper
>>
>> _______________________________________________
>> Ibm-netrexx mailing list
>> [hidden email]
>> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>>
>>
>
> --
> Thomas Schneider (Founder of www.thsitc.com) 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 (Founder of www.thsitc.com) 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: getting crazy with this java-classpath-lib-doesnt-work-whereever-i-put NetRexxC.jar-thing :-((((

rvjansen
NJPipes is Ed Tomlinson's.

René.

>
> Also not, that rene Vncent Jansen, President RexxLA, is just bringing
> the doc's *up to date*, as well as preparing the *official release*
> of the newest version of NetRexxC  (as well as Jerry Mac Brides
> nrjPipes,
> which does allow you to use PIPE's in Netrexx, as you might have used
> on IBM CMS systems, for instance).
>

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

Reply | Threaded
Open this post in threaded view
|

Re: getting crazy with this java-classpath-lib-doesnt-work-whereever-i-put NetRexxC.jar-thing :-((((

rvjansen
In reply to this post by ThSITC
I can recommend against doing this. While it will work, inevitably it
will lead to problems in the long run.
It does not work on all Java SDK's, and you will both forget you did it
and not have understood the classpath mechanism, which is necessary to
get any serious application off the ground, for example in a J2EE
Container.

Please do note that the new version of the documentation also
recommends against doing this.
This problem will be solved in a future version of NetRexx.

best regards,

René.


On 2012-05-02 08:16, Thomas Schneider wrote:
> Hello Christian, and all,
>
> The major cause o all those issues is that the Java "tools.jar",
> which does contain the Java Compiler, must be *explicitely* moved to
> the ...\lib\ext
> directory, after the installation of the Java SDK itself.

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

Reply | Threaded
Open this post in threaded view
|

Re: getting crazy with this java-classpath-lib-doesnt-work-whereever-i-put NetRexxC.jar-thing :-((((

ThSITC
Hello Rene,
    1.) thanks for your clarifications, both for the author of nrjPipes.
I will have to be more careful in menioning author's of useful add-ons
to Netrexx by brain only ... There are too many who did contribute in
the early days of NetRexx, *and*, obviously due to proceeding Alzheimer
I should always lookup my printed out doc's before mentioning names. I
will be more careful in the future. ed tomlison, sorry for my mistake :-)
    2.) more important, Rene:

Could you *explicitely* state, please, which JDK's (from which vendor ?)
re *not following* the recommended Java procedures ?

Just so that we al do know where the technique I did describe
which does NOT need class-pathes would *not work*.

Could you also please put this your knowledge in the new user's guide
you are just preparing ?

Thanks in advance,
Thomas.
=========================================================
Am 02.05.2012 10:24, schrieb rvjansen:

> I can recommend against doing this. While it will work, inevitably it
> will lead to problems in the long run.
> It does not work on all Java SDK's, and you will both forget you did
> it and not have understood the classpath mechanism, which is necessary
> to get any serious application off the ground, for example in a J2EE
> Container.
>
> Please do note that the new version of the documentation also
> recommends against doing this.
> This problem will be solved in a future version of NetRexx.
>
> best regards,
>
> René.
>
>
> On 2012-05-02 08:16, Thomas Schneider wrote:
>> Hello Christian, and all,
>>
>> The major cause o all those issues is that the Java "tools.jar",
>> which does contain the Java Compiler, must be *explicitely* moved to
>> the ...\lib\ext
>> directory, after the installation of the Java SDK itself.
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>


--
Thomas Schneider (Founder of www.thsitc.com) 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: getting crazy with this java-classpath-lib-doesnt-work-whereever-i-put NetRexxC.jar-thing :-((((

rvjansen
Hi Thomas,

I agree we must document all of this  - perhaps even before eliminating the problem. I do not know this from the top of my head. Certainly all the backlevel SDK's and JDK's have this - and I am not exactly sure when the feature was introduced.

Some of IBM's platform JVM's must have different requirements, as do the small devices implementations, the Linux alternative VM's and research VM's like Maxine. It needs investigation.

Also, when packaging an application for JBoss of WebSphere, it is not recommended to use the extension directories from the VM.  Some releases of Tomcat cannot have your jar on the system classpath - it won't work. A JDBC driver that needs reflexive loading is hard to locate without an explicit classpath.

At customer sites, you might not be able to write on the extension directories. Putting the NetRexxC.jar (in a /lib subdirectory - for tidyness - of) your home directory, and putting this on your classpath can be the only solution.

When you or some system adminstrator moves or patches the JVM, all your libraries could be lost. You yourself can forget what you put there. You will not have your library requirements for the application documented on a classpath statement. You may need conflicting versions of the same application or middleware jar for two apps on the same machine.

One last point, when running multiple JVMs on a machine, dropping a jar in the extension directory of one of them will not help a lot- it is better to be in control using multiple classpaths that point to one version of your jar.

As you might gather from the above, I regard the use of these directories as a sloppy way of working that is fraught with risk.

best regards,

René.

On 2 mei 2012, at 18:11, Thomas Schneider wrote:

> Hello Rene,
>   1.) thanks for your clarifications, both for the author of nrjPipes. I will have to be more careful in menioning author's of useful add-ons to Netrexx by brain only ... There are too many who did contribute in the early days of NetRexx, *and*, obviously due to proceeding Alzheimer I should always lookup my printed out doc's before mentioning names. I will be more careful in the future. ed tomlison, sorry for my mistake :-)
>   2.) more important, Rene:
>
> Could you *explicitely* state, please, which JDK's (from which vendor ?)
> re *not following* the recommended Java procedures ?
>
> Just so that we al do know where the technique I did describe
> which does NOT need class-pathes would *not work*.
>
> Could you also please put this your knowledge in the new user's guide you are just preparing ?
>
> Thanks in advance,
> Thomas.
> =========================================================
> Am 02.05.2012 10:24, schrieb rvjansen:
>> I can recommend against doing this. While it will work, inevitably it will lead to problems in the long run.
>> It does not work on all Java SDK's, and you will both forget you did it and not have understood the classpath mechanism, which is necessary to get any serious application off the ground, for example in a J2EE Container.
>>
>> Please do note that the new version of the documentation also recommends against doing this.
>> This problem will be solved in a future version of NetRexx.
>>
>> best regards,
>>
>> René.
>>
>>
>> On 2012-05-02 08:16, Thomas Schneider wrote:
>>> Hello Christian, and all,
>>>
>>> The major cause o all those issues is that the Java "tools.jar",
>>> which does contain the Java Compiler, must be *explicitely* moved to
>>> the ...\lib\ext
>>> directory, after the installation of the Java SDK itself.
>>
>> _______________________________________________
>> Ibm-netrexx mailing list
>> [hidden email]
>> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>>
>
>
> --
> Thomas Schneider (Founder of www.thsitc.com) 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/

Reply | Threaded
Open this post in threaded view
|

Re: getting crazy with this java-classpath-lib-doesnt-work-whereever-i-put NetRexxC.jar-thing :-((((

Jeff Hennick
Let's get this information, and the other recent thread, "How can I call
NetRexx-programs from Java and/or Javascipt?", into Wiki pages.  Rough,
incomplete, and maybe even "wrong," yes, but it can and will be
corrected, added to, and polished as we go.  It is important to document
it in a findable, preferably concise, way.  "How to"s are most
important, but in this topic we see the "Why"s can influence minds and
product.

Someone who can separate the good from the poor, please:  Use copy &
paste from this list to start with.  I'd do it, but am way out of my
depth on these topics.

Thanks from all of us!

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

Reply | Threaded
Open this post in threaded view
|

Re: getting crazy with this java-classpath-lib-doesnt-work-whereever-i-put NetRexxC.jar-thing :-((((

ThSITC
Hello Jeff, *and* all,

    1.) I'm currently *not* yet comfortable with *Wiki* syntax and
semantics.
    2.) as you all do know, from the past, I *try* to be very direct and
helpful,
where I can, but as I am ony *1 human beeing*, as all of us, I'm
concentrating currenty to finish a nearly never ending story ... :-;
    3.) I definitely will *NOT* mention the concerted suite of products
to be released from my shop, step by step, as *Mr. Ex-RexxLA-President*
dear beloved Chip Davies, will call this HI-Jacking (again), as he did on
RexxLA.

Hence, *please*,when possibl at all:

Let us co-operate, *NOT* fight needless fights (when possible).

Thomas.
=====================================================
Am 02.05.2012 19:29, schrieb Jeff Hennick:

> Let's get this information, and the other recent thread, "How can I
> call NetRexx-programs from Java and/or Javascipt?", into Wiki pages.  
> Rough, incomplete, and maybe even "wrong," yes, but it can and will be
> corrected, added to, and polished as we go.  It is important to
> document it in a findable, preferably concise, way.  "How to"s are
> most important, but in this topic we see the "Why"s can influence
> minds and product.
>
> Someone who can separate the good from the poor, please:  Use copy &
> paste from this list to start with.  I'd do it, but am way out of my
> depth on these topics.
>
> Thanks from all of us!
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>
>


--
Thomas Schneider (Founder of www.thsitc.com) 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: getting crazy with this java-classpath-lib-doesnt-work-whereever-i-put NetRexxC.jar-thing :-((((

kenner
In reply to this post by Jeff Hennick

 > listpath

C:\Documents and Settings\keklein  Fri 05/04/2012 16:03
 > echo off

 "This is a nice list of your path at the moment:"

  .
 C:\Documents and Settings\keklein\
 C:\Documents and Settings\keklein\My Documents\REXX\NetRexx\bin
 C:\Documents and Settings\keklein\My Documents\REXX\NrxRedBk\Redbook
 C:\Program Files\vim\vim73
 C:\PROGRA~1\IBM\SQLLIB\BIN
 C:\PROGRA~1\IBM\SQLLIB\FUNCTION
 C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL
 C:\Program Files\IBM\GSK7\bin
 C:\Program Files\IBM\GSK7\lib
 C:\Program Files\IBM\ITM\bin
 C:\Program Files\IBM\ITM\bin\dll
 C:\Program Files\IBM\ITM\InstallITM
 C:\Program Files\IBM\ITM\TMAITM6
 C:\Program Files\IBM\Personal Communications\
 C:\Program Files\IBM\Trace Facility\
 C:\Program Files\Java\jdk1.6.0_18\bin
 C:\Program Files\QuickTime\QTSystem\
 C:\program files\rmf\rmf spreadsheet reporter\
 C:\Program Files\Windows Imaging\
 C:\WINDOWS
 C:\WINDOWS\system32
 C:\WINDOWS\System32\Wbem
 C:\Documents and Settings\keklein\My Documents\apache-ant-1.8.2\bin

 "This is a nice list of your classpath at the moment:"

  .
 C:\Program Files\Java\jre6\lib\ext\NetRexxC.jar
 C:\Program Files\Java\jre6\lib\ext\tools.jar
 C:\PROGRA~1\IBM\SQLLIB\java\db2java.zip
 C:\PROGRA~1\IBM\SQLLIB\java\db2jcc.jar
 C:\PROGRA~1\IBM\SQLLIB\java\sqlj.zip
 C:\PROGRA~1\IBM\SQLLIB\java\db2jcc_license_cu.jar
 C:\PROGRA~1\IBM\SQLLIB\bin
 C:\PROGRA~1\IBM\SQLLIB\java\common.jar
 C:\Program Files\Java\jre6\lib\ext\QTJava.zip
 C:\Documents and Settings\keklein\REXX\NetRexx\lib\Rexx2Nrx.jar
 C:\Documents and Settings\keklein\REXX\NetRexx\lib\NetRexxC.jar
 C:\Documents and Settings\keklein\REXX\NetRexx\bin\
 C:\Documents and Settings\keklein\REXX\NetRexx\bin\BJCP
 C:\Documents and Settings\keklein\REXX\NetRexx\nrxredbk.zip
 C:\Documents and Settings\keklein\REXX\NetRexx\bjcp6\frontend2.jar

 Done.

Source of the listpath.bat dos batch file:

echo off
:: @echo. %0
:: type %0
set holding.file.tmp=%random%.%0.tmp
@echo. %path% > %holding.file.tmp%
@echo.
@echo. "This is a nice list of your path at the moment:"
@echo.
for /F "usebackq eol=^ tokens=1-26* delims=;" %%a in (`type %holding.file.tmp%`) do (
        if NOT "%%a"=="" echo. %%a
        if NOT "%%b"=="" echo. %%b
        if NOT "%%c"=="" echo. %%c
        if NOT "%%d"=="" echo. %%d
        if NOT "%%e"=="" echo. %%e
        if NOT "%%f"=="" echo. %%f
        if NOT "%%g"=="" echo. %%g
        if NOT "%%h"=="" echo. %%h
        if NOT "%%i"=="" echo. %%i
        if NOT "%%j"=="" echo. %%j
        if NOT "%%k"=="" echo. %%k
        if NOT "%%l"=="" echo. %%l
        if NOT "%%m"=="" echo. %%m
        if NOT "%%n"=="" echo. %%n
        if NOT "%%o"=="" echo. %%o
        if NOT "%%p"=="" echo. %%p
        if NOT "%%q"=="" echo. %%q
        if NOT "%%r"=="" echo. %%r
        if NOT "%%s"=="" echo. %%s
        if NOT "%%t"=="" echo. %%t
        if NOT "%%u"=="" echo. %%u
        if NOT "%%v"=="" echo. %%v
        if NOT "%%w"=="" echo. %%w
        if NOT "%%x"=="" echo. %%x
        if NOT "%%y"=="" echo. %%y
        if NOT "%%z"=="" echo. %%z
        )
@echo. %classpath% > %holding.file.tmp%
@echo.
@echo. "This is a nice list of your classpath at the moment:"
@echo.
for /F "usebackq eol=^ tokens=1-26* delims=;" %%a in (`type %holding.file.tmp%`) do (
        if NOT "%%a"=="" echo. %%a
        if NOT "%%b"=="" echo. %%b
        if NOT "%%c"=="" echo. %%c
        if NOT "%%d"=="" echo. %%d
        if NOT "%%e"=="" echo. %%e
        if NOT "%%f"=="" echo. %%f
        if NOT "%%g"=="" echo. %%g
        if NOT "%%h"=="" echo. %%h
        if NOT "%%i"=="" echo. %%i
        if NOT "%%j"=="" echo. %%j
        if NOT "%%k"=="" echo. %%k
        if NOT "%%l"=="" echo. %%l
        if NOT "%%m"=="" echo. %%m
        if NOT "%%n"=="" echo. %%n
        if NOT "%%o"=="" echo. %%o
        if NOT "%%p"=="" echo. %%p
        if NOT "%%q"=="" echo. %%q
        if NOT "%%r"=="" echo. %%r
        if NOT "%%s"=="" echo. %%s
        if NOT "%%t"=="" echo. %%t
        if NOT "%%u"=="" echo. %%u
        if NOT "%%v"=="" echo. %%v
        if NOT "%%w"=="" echo. %%w
        if NOT "%%x"=="" echo. %%x
        if NOT "%%y"=="" echo. %%y
        if NOT "%%z"=="" echo. %%z
        )
@echo.
@echo. Done.

Kenneth Klein


Jeff Hennick <[hidden email]>
Sent by: [hidden email]

05/02/2012 01:30 PM

Please respond to
IBM Netrexx <[hidden email]>

To
IBM Netrexx <[hidden email]>
cc
Subject
Re: [Ibm-netrexx] getting crazy with this java-classpath-lib-doesnt-work-whereever-i-put NetRexxC.jar-thing :-((((





Let's get this information, and the other recent thread, "How can I call
NetRexx-programs from Java and/or Javascipt?", into Wiki pages.  Rough,
incomplete, and maybe even "wrong," yes, but it can and will be
corrected, added to, and polished as we go.  It is important to document
it in a findable, preferably concise, way.  "How to"s are most
important, but in this topic we see the "Why"s can influence minds and
product.

Someone who can separate the good from the poor, please:  Use copy &
paste from this list to start with.  I'd do it, but am way out of my
depth on these topics.

Thanks from all of us!

_______________________________________________
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: getting crazy with thisjava-classpath-lib-doesnt-work-whereever-i-put NetRexxC.jar-thing :-((((

christel.u.w.pachl christel.u.w.pachl
fascinating!!!

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

Reply | Threaded
Open this post in threaded view
|

How do you spell this in NetRexx

christel.u.w.pachl christel.u.w.pachl

s='00'x
Say c2x(s)

Tried to find it in the Manual but couldn't find it

Is there a translation aid for the human translator?

Thanks
Walter

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

Reply | Threaded
Open this post in threaded view
|

Re: How do you spell this in NetRexx

rickmcguire
Use

say s.c2x

Rick

On Fri, May 4, 2012 at 4:48 PM, Walter Pachl
<[hidden email]> wrote:

>
> s='00'x
> Say c2x(s)
>
> Tried to find it in the Manual but couldn't find it
>
> Is there a translation aid for the human translator?
>
> Thanks
> Walter
>
> _______________________________________________
> 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: How do you spell this in NetRexx

christel.u.w.pachl christel.u.w.pachl

actually I was asking for the first line :-)
and how about the Rexx/NetRexx dictionary ?

---- Rick McGuire <[hidden email]> schrieb:

> Use
>
> say s.c2x
>
> Rick
>
> On Fri, May 4, 2012 at 4:48 PM, Walter Pachl
> <[hidden email]> wrote:
> >
> > s='00'x
> > Say c2x(s)
> >
> > Tried to find it in the Manual but couldn't find it
> >
> > Is there a translation aid for the human translator?
> >
> > Thanks
> > Walter
> >
> > _______________________________________________
> > 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: How do you spell this in NetRexx

christel.u.w.pachl christel.u.w.pachl
ahh
s='00'.x2c
?
---- Walter Pachl <[hidden email]> schrieb:
>
> actually I was asking for the first line :-)
> and how about the Rexx/NetRexx dictionary ?
>

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

Reply | Threaded
Open this post in threaded view
|

Re: How do you spell this in NetRexx

rickmcguire
That works, but the literal form would be

  s = '\0'

or

  s = '\x00'

Rather than having different literal string types, Netrexx uses escape
sequences.

Rick

On Fri, May 4, 2012 at 5:04 PM, Walter Pachl
<[hidden email]> wrote:

> ahh
> s='00'.x2c
> ?
> ---- Walter Pachl <[hidden email]> schrieb:
>>
>> actually I was asking for the first line :-)
>> and how about the Rexx/NetRexx dictionary ?
>>
>
> _______________________________________________
> 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: How do you spell this in NetRexx

christel.u.w.pachl christel.u.w.pachl
Thanks
But
Say s.c2x
displays 0
instead of the expected 00

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

Reply | Threaded
Open this post in threaded view
|

c2x

christel.u.w.pachl christel.u.w.pachl
In reply to this post by christel.u.w.pachl christel.u.w.pachl
Thanks
I apologize for taking this online course!
Thanks Rick
And I shall start reading the next time before asking
Walter

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

Reply | Threaded
Open this post in threaded view
|

Re: How do you spell this in NetRexx

alansam
In reply to this post by christel.u.w.pachl christel.u.w.pachl
Slightly contrived but how about:

s = '\x00'
Say s.c2x.right(2, 0)


--
Can't tweet, won't tweet!

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

Alan

--
Needs more cowbell.
Reply | Threaded
Open this post in threaded view
|

Re: getting crazy with this java-classpath-lib-doesnt-work-whereever-i-put NetRexxC.jar-thing :-((((

ThSITC
In reply to this post by kenner
Hi Kenneth,
   thank you for even *including* the source of your listpath.bat.

Just    ran it on my machine!
Very helpful!
Thomas.

PS: Any equivalent .bsh script available??
     
 I'm just doing my frist *learning trials* on my SUSE Linux Dell Notebook I got spend by a friend of mine, to be able to tet my soft under Linux, as well... ;-)

PPS: Has anybody of you alreadywritten a DOS BAT TO LINUX .BSH
conversion utility (to convert a set of DOS Batch-Files o LINUX BASH files ???) :-) :-)
 
===================================================.
Am 04.05.2012 22:05, schrieb [hidden email]:

 > listpath

C:\Documents and Settings\keklein  Fri 05/04/2012 16:03
 > echo off

 "This is a nice list of your path at the moment:"

  .
 C:\Documents and Settings\keklein\
 C:\Documents and Settings\keklein\My Documents\REXX\NetRexx\bin
 C:\Documents and Settings\keklein\My Documents\REXX\NrxRedBk\Redbook
 C:\Program Files\vim\vim73
 C:\PROGRA~1\IBM\SQLLIB\BIN
 C:\PROGRA~1\IBM\SQLLIB\FUNCTION
 C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL
 C:\Program Files\IBM\GSK7\bin
 C:\Program Files\IBM\GSK7\lib
 C:\Program Files\IBM\ITM\bin
 C:\Program Files\IBM\ITM\bin\dll
 C:\Program Files\IBM\ITM\InstallITM
 C:\Program Files\IBM\ITM\TMAITM6
 C:\Program Files\IBM\Personal Communications\
 C:\Program Files\IBM\Trace Facility\
 C:\Program Files\Java\jdk1.6.0_18\bin
 C:\Program Files\QuickTime\QTSystem\
 C:\program files\rmf\rmf spreadsheet reporter\
 C:\Program Files\Windows Imaging\
 C:\WINDOWS
 C:\WINDOWS\system32
 C:\WINDOWS\System32\Wbem
 C:\Documents and Settings\keklein\My Documents\apache-ant-1.8.2\bin

 "This is a nice list of your classpath at the moment:"

  .
 C:\Program Files\Java\jre6\lib\ext\NetRexxC.jar
 C:\Program Files\Java\jre6\lib\ext\tools.jar
 C:\PROGRA~1\IBM\SQLLIB\java\db2java.zip
 C:\PROGRA~1\IBM\SQLLIB\java\db2jcc.jar
 C:\PROGRA~1\IBM\SQLLIB\java\sqlj.zip
 C:\PROGRA~1\IBM\SQLLIB\java\db2jcc_license_cu.jar
 C:\PROGRA~1\IBM\SQLLIB\bin
 C:\PROGRA~1\IBM\SQLLIB\java\common.jar
 C:\Program Files\Java\jre6\lib\ext\QTJava.zip
 C:\Documents and Settings\keklein\REXX\NetRexx\lib\Rexx2Nrx.jar
 C:\Documents and Settings\keklein\REXX\NetRexx\lib\NetRexxC.jar
 C:\Documents and Settings\keklein\REXX\NetRexx\bin\
 C:\Documents and Settings\keklein\REXX\NetRexx\bin\BJCP
 C:\Documents and Settings\keklein\REXX\NetRexx\nrxredbk.zip
 C:\Documents and Settings\keklein\REXX\NetRexx\bjcp6\frontend2.jar

 Done.

Source of the listpath.bat dos batch file:

echo off
:: @echo. %0
:: type %0
set holding.file.tmp=%random%.%0.tmp
@echo. %path% > %holding.file.tmp%
@echo.
@echo. "This is a nice list of your path at the moment:"
@echo.
for /F "usebackq eol=^ tokens=1-26* delims=;" %%a in (`type %holding.file.tmp%`) do (
        if NOT "%%a"=="" echo. %%a
        if NOT "%%b"=="" echo. %%b
        if NOT "%%c"=="" echo. %%c
        if NOT "%%d"=="" echo. %%d
        if NOT "%%e"=="" echo. %%e
        if NOT "%%f"=="" echo. %%f
        if NOT "%%g"=="" echo. %%g
        if NOT "%%h"=="" echo. %%h
        if NOT "%%i"=="" echo. %%i
        if NOT "%%j"=="" echo. %%j
        if NOT "%%k"=="" echo. %%k
        if NOT "%%l"=="" echo. %%l
        if NOT "%%m"=="" echo. %%m
        if NOT "%%n"=="" echo. %%n
        if NOT "%%o"=="" echo. %%o
        if NOT "%%p"=="" echo. %%p
        if NOT "%%q"=="" echo. %%q
        if NOT "%%r"=="" echo. %%r
        if NOT "%%s"=="" echo. %%s
        if NOT "%%t"=="" echo. %%t
        if NOT "%%u"=="" echo. %%u
        if NOT "%%v"=="" echo. %%v
        if NOT "%%w"=="" echo. %%w
        if NOT "%%x"=="" echo. %%x
        if NOT "%%y"=="" echo. %%y
        if NOT "%%z"=="" echo. %%z
        )
@echo. %classpath% > %holding.file.tmp%
@echo.
@echo. "This is a nice list of your classpath at the moment:"
@echo.
for /F "usebackq eol=^ tokens=1-26* delims=;" %%a in (`type %holding.file.tmp%`) do (
        if NOT "%%a"=="" echo. %%a
        if NOT "%%b"=="" echo. %%b
        if NOT "%%c"=="" echo. %%c
        if NOT "%%d"=="" echo. %%d
        if NOT "%%e"=="" echo. %%e
        if NOT "%%f"=="" echo. %%f
        if NOT "%%g"=="" echo. %%g
        if NOT "%%h"=="" echo. %%h
        if NOT "%%i"=="" echo. %%i
        if NOT "%%j"=="" echo. %%j
        if NOT "%%k"=="" echo. %%k
        if NOT "%%l"=="" echo. %%l
        if NOT "%%m"=="" echo. %%m
        if NOT "%%n"=="" echo. %%n
        if NOT "%%o"=="" echo. %%o
        if NOT "%%p"=="" echo. %%p
        if NOT "%%q"=="" echo. %%q
        if NOT "%%r"=="" echo. %%r
        if NOT "%%s"=="" echo. %%s
        if NOT "%%t"=="" echo. %%t
        if NOT "%%u"=="" echo. %%u
        if NOT "%%v"=="" echo. %%v
        if NOT "%%w"=="" echo. %%w
        if NOT "%%x"=="" echo. %%x
        if NOT "%%y"=="" echo. %%y
        if NOT "%%z"=="" echo. %%z
        )
@echo.
@echo. Done.

Kenneth Klein


Jeff Hennick [hidden email]
Sent by: [hidden email]

05/02/2012 01:30 PM

Please respond to
IBM Netrexx [hidden email]

To
IBM Netrexx [hidden email]
cc

Subject
Re: [Ibm-netrexx] getting crazy with this java-classpath-lib-doesnt-work-whereever-i-put NetRexxC.jar-thing :-((((







Let's get this information, and the other recent thread, "How can I call
NetRexx-programs from Java and/or Javascipt?", into Wiki pages.  Rough,
incomplete, and maybe even "wrong," yes, but it can and will be
corrected, added to, and polished as we go.  It is important to document
it in a findable, preferably concise, way.  "How to"s are most
important, but in this topic we see the "Why"s can influence minds and
product.

Someone who can separate the good from the poor, please:  Use copy &
paste from this list to start with.  I'd do it, but am way out of my
depth on these topics.

Thanks from all of us!

_______________________________________________
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 (Founder of www.thsitc.com) 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: getting crazy with this java-classpath-lib-doesnt-work-whereever-i-put NetRexxC.jar-thing :-((((

Fernando Cassia-2
In reply to this post by ThSITC
On Wed, May 2, 2012 at 2:45 PM, Thomas Schneider
<[hidden email]> wrote:
>
>   1.) I'm currently *not* yet comfortable with *Wiki* syntax and semantics.

There is an OpenOffice extension that let you update wiki documents
using the OpenOffice writer component in WYSIWYG mode, then update the
wiki.

I' m not sure if it' s actively maintained of if it supports the
latest wiki versions, but it did exist 2-3 years ago and it used to
work (at the time).

http://extensions.services.openoffice.org/project/wikipublisher?intcmp=1547

FC

--
During times of Universal Deceit, telling the truth becomes a revolutionary act
Durante épocas de Engaño Universal, decir la verdad se convierte en un
Acto Revolucionario
- George Orwell

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

Reply | Threaded
Open this post in threaded view
|

Re: getting crazy with this java-classpath-lib-doesnt-work-whereever-i-put NetRexxC.jar-thing :-((((

ThSITC
Thanks for this link, Fernando! :-)

I will use OpenOffie anyway on my new Dell, Linux based, Notebook, thus
your advise just comes in at the right time...

thomas.
========================================================
Am 05.05.2012 13:29, schrieb Fernando Cassia:

> On Wed, May 2, 2012 at 2:45 PM, Thomas Schneider
> <[hidden email]>  wrote:
>>    1.) I'm currently *not* yet comfortable with *Wiki* syntax and semantics.
> There is an OpenOffice extension that let you update wiki documents
> using the OpenOffice writer component in WYSIWYG mode, then update the
> wiki.
>
> I' m not sure if it' s actively maintained of if it supports the
> latest wiki versions, but it did exist 2-3 years ago and it used to
> work (at the time).
>
> http://extensions.services.openoffice.org/project/wikipublisher?intcmp=1547
>
> FC
>


--
Thomas Schneider (Founder of www.thsitc.com) 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