René,
Thank you. We are making progress. It appears there is a bug(!) in the new Firefox builtin PDF Viewer. When selecting text in it, whenever there is a "<span>"-tag (or fieldmark, or equivalent) to change font face, the selection tool skips it. This does not occur in Adobe Reader as a standalone or an extension in Chrome. Using Firefox, in the code samples, specifically the "Oblong" Listing 1.25 that I have been using as a test, nearly every word (but not all) is broken into separate "<span>"s or fields. So selecting the whole text results in each word being highlighted with a blank space between them, rather than one clean block of highlighting. When this gets pasted, those "fieldmarks" are interpreted as EOLs. (I think Firefox / PDF has some other bugs in selecting text as well.) With the other two readers, the whole text is highlighted and copied. When pasted, the individual rows are right. (Asterisks still come through as X03 characters.) I conclude that Firefox has a problem. Which we can't do anything about. (And I can not think of a place where it would be appropriate to post a warning.) But the listings are not as clean as they could be, either. As a workaround, could the listings be put through a simple editor and converted to raw ASCII before being pasted into the PDF file? Less important, when pasting, I also get the line numbers. These are necessary in the publication. And they require only a little cleanup in the editor after pasting, but if there is some way to get the listing as a separate block superimposed on the block with the line numbers, so the code only can be copied as a block, we would be ahead of the game. I have no experience or help for doing this in a PDF editor. LibreOffice does have a line numbering tool that puts them outside the text block. (I think I could do it with HTML and Javascript to adjust the outer block after the inner one has been rendered.) If screenprints of any of this would be helpful, please ask. I won't burden the list with them. Jeff On 3/28/2013 12:13 PM, René Jansen wrote: > Jeff, > > this is fixed in the next release candidate (and in the online documents already). Let me know if this is better. > > Also fixed is the -- comments problem. I am still looking for a fix to the askterisk problem. > > best regards, > > René. > > On 26 mrt. 2013, at 16:18, Jeff Hennick <[hidden email]> wrote: > >> René, >> >> Just in trying to select the code in the Quick Start Listing 1.24 looks like this: >> <ob.png> >> >> If the image does not show: Many, but not all, the space characters are not highlighted, the "*"s are not highlighted, and the line numbers (except "1" -- I clicked before the "/*" and shift-clicked at the end) are highlighted. >> >> When I paste this into my editor (KEdit) it is really messed up with the non-highlighted "spaces" coming in as "newlines". >> >> The text body also shows some such "strangeness: >> <tx.png> >> In this image (from just before Listing 1.24), most of the text is highlighted, but there are a few non-highlighted characters: the spaces around the italicized text, and at the start of fixed-width font text. >> >> I have no experience with creating PDFs and how to fix these. But there must be some way of specifying the code so it can be copy & pasted as ASCII and without the line numbers. >> >> _______________________________________________ >> 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/ |
Rene,
Would it be possible to produce the PDFs with bookmarks for all headings in the document's Table of Contents? Thus is more usable than the contents alone because the document and the bookmarks are in separate panels with independent navigation controls. Also, could you indicate the tools you use to operate on PDFs? On Thu, Mar 28, 2013 at 1:49 PM, Jeff Hennick <[hidden email]> wrote: René, -- "One can live magnificently in this world if one knows how to work and how to love." -- Leo Tolstoy _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
George,
I am not sure I fully understand you; the headings in the table of content are complete, and they link to the correct sections of the document, i.e. they are clickable. The NRL is still not in Latex and might be different. For today, fixing of the asterisk in the document is planned. After that, I will look into the reported version incompatibilities. The pdfs are produced using xelatex, using a lot of latex packages to handle urls, hyperlinks, railroad diagrams and fonts. The listings package is what has caused most of the grief over the last few days; it numbers sources listings and does a primitive, keyword and quote based syntax coloration; the documentation folder of the source repository contains a book called 'colofon' which aims to describe the process. It would be great if others also could update and build the documentation. On the advice of Tom Maynard I looked into a site that has building of Tex based documents as a service, but for now it is on the long list of 'things to look into later'. Editing and building the documents is not hard; all you need is a recent TeXlive distribution (the amazon vm on which the website/build machine runs has one that is too old, grmbl ...), any editor, the executable for the railroad diagram package, and the Bodoni URW font (only for the title pages - I might make that substitutable, the body text is Times Roman, I am following a particular IBM manual era typography here). A makefile is in place to do the complicated stuff of rebuilding indexes and cross references - it loops the build until the references are right. To answer Jeff's question - most source listings are included from the actual ascii files, only some in the Quick Tour part of the Quick Start Guide are lifted from previous versions of the document. I will make sure that these will all be included from directly compilable files in the second release candidate - they will be with the rest of the examples in the examples/quicktour directory. The aim is here to have (after a few more iterations of the books) the output of the examples generated by the actual example - this is a neat trick that I saw in several books, one that insures that examples are correct. I mostly look at the pdf files using the Apple Preview application myself, and once in a while using Acrobat Reader or a web plugin. Preview has the advantage that it updates in place when I am editing and building - there is no need to restart the viewer every time I rebuild. best regards, René. On 28 mrt. 2013, at 19:13, George Hovey <[hidden email]> wrote: Rene, _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
René and George,
This is from ftp://ftp.tex.ac.uk/tex-archive/macros/latex/contrib/listings/listings.pdf (page 17), "The Listings Package" documentation: [Note that even copying that has upset the font used, and it was messier than that before I cleaned it up.] We, or at least I, have been "barking up the wrong tree." The code samples in the documentation simply can NOT be copy-and-pasted into an editor. I recommend that some such disclaimer be included. Could a link / reference to the source be included at the beginning of each sample? Jeff On 3/29/2013 7:47 AM, René Jansen wrote: George, _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
In reply to this post by rvjansen
René,
While I think the question of copy & paste is now moot, the coloring in the listings is still valid. On the *-problem, this quote may or may not help, it is from the Listings documentation ( ftp://ftp.tex.ac.uk/tex-archive/macros/latex/contrib/listings/listings.pdf ), page 21, on the 3.2 Language definitions: It appears that in the definition for Rexx, the order of defining comments and operators -- at least the * operator, is important. At the moment, I can't find the "Rexx" file on line to look at it. Jeff On 3/29/2013 7:47 AM, René Jansen wrote: George, _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
Hi Jeff,
I think if we fix the asterisk, the copy and paste can be done - although it seems not something the makers of the package - or I - intended. The format definition file is at trunk/documentation/boilerplate/netrexxformat.tex best regards, René. On 29 mrt. 2013, at 15:31, Jeff Hennick <[hidden email]> wrote:
_______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
In reply to this post by Michael (maillists) Dag
Michael,
did you, by chance, run this test also with 3.01? best regards, René. On 26 mrt. 2013, at 16:22, [hidden email] wrote: > First attempt at RC1 so followed the read.me.first > > 1. Ensure that you have Java installed and running. > Try the command: 'java -version' to confirm this. > Download and install Java from www.java.com if it does not work. > >>> >>> Please add dependency on Java 1.6 and up on this as following with 1.4.2 > and 1.5.0 results in a "NoClassDefFoundError" and "Invalid or corrupt" jar > file as below... >>> > > C:\NetRexx\3.0.2.RC1\lib>java -version > java version "1.4.2" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28) > Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode) > > C:\NetRexx\3.0.2.RC1\lib>java -jar .\NetRexxF.jar -exec hello > Exception in thread "main" java.lang.NoClassDefFoundError: > java/lang/Iterable > at java.lang.ClassLoader.defineClass0(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:537) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) > at java.net.URLClassLoader.access$100(URLClassLoader.java:55) > at java.net.URLClassLoader$1.run(URLClassLoader.java:194) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:187) > at java.lang.ClassLoader.loadClass(ClassLoader.java:289) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) > at java.lang.ClassLoader.loadClass(ClassLoader.java:235) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) > at org.netrexx.process.NetRexxC.<clinit>(NetRexxC.nrx:60) > > C:\NetRexx\3.0.2.RC1\lib>java -Dnrx.compiler=ecj -jar NetRexxF.jar hello > Exception in thread "main" java.lang.NoClassDefFoundError: > java/lang/Iterable > at java.lang.ClassLoader.defineClass0(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:537) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) > at java.net.URLClassLoader.access$100(URLClassLoader.java:55) > at java.net.URLClassLoader$1.run(URLClassLoader.java:194) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:187) > at java.lang.ClassLoader.loadClass(ClassLoader.java:289) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) > at java.lang.ClassLoader.loadClass(ClassLoader.java:235) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) > at org.netrexx.process.NetRexxC.<clinit>(NetRexxC.nrx:60) > > > > C:\NetRexx\3.0.2.RC1\lib>java -version > java version "1.5.0" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64) > Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing) > > C:\NetRexx\3.0.2.RC1\lib>java -jar .\NetRexxF.jar -exec hello > Invalid or corrupt jarfile .\NetRexxF.jar > > C:\NetRexx\3.0.2.RC1\lib>java -Dnrx.compiler=ecj -jar NetRexxF.jar hello > Invalid or corrupt jarfile NetRexxF.jar > > > > C:\NetRexx\3.0.2.RC1\lib>java -version > java version "1.6.0_41" > Java(TM) SE Runtime Environment (build 1.6.0_41-b02) > Java HotSpot(TM) Client VM (build 20.14-b01, mixed mode, sharing) > > C:\NetRexx\3.0.2.RC1\lib>java -jar .\NetRexxF.jar -exec hello > NetRexx portable processor, version NetRexx 3.02, build 11-20130323-1551 > Copyright (c) RexxLA, 2011,2013. All rights reserved. > Parts Copyright (c) IBM Corporation, 1995,2008. > Program hello.nrx > ===== Exec: hello ===== > hello > Processing of 'hello.nrx' complete > > C:\NetRexx\3.0.2.RC1\lib>java -Dnrx.compiler=ecj -jar NetRexxF.jar hello > NetRexx portable processor, version NetRexx 3.02, build 11-20130323-1551 > Copyright (c) RexxLA, 2011,2013. All rights reserved. > Parts Copyright (c) IBM Corporation, 1995,2008. > Program hello.nrx > Compilation of 'hello.nrx' successful > > > Michael Dag > > -----Original Message----- > From: [hidden email] > [mailto:[hidden email]] On Behalf Of René Jansen > Sent: zondag 24 maart 2013 19:50 > To: IBM Netrexx > Subject: [Ibm-netrexx] Announcing NetRexx 3.02 RC1 > > You might receive this multiple times, depending on the number of rexx > related lists you are subscribed to. > > For shortness, the complete announcement is here: > http://rexx-language-association-forum.44760.n6.nabble.com/Announcing-the-Ne > tRexx-3-02-Release-Candidate-1-tp171.html > > I would like to invite you all to subscribe to the new public RexxLA forum - > maybe we then can have all our announcements in one place. > > best regards, > > René Jansen. > _______________________________________________ > 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/ |
Rene, There is no NetRexxF.jar in 3.01 as I can see. Or do you mean can I generate a class file with java 1.4.2 and nrc? The answer is yes it works with 1.3.1, 1.4.2 and 1.5.0 New Window! C:\NetRexx\3.0.1\bin>\NetRexx\netrexx_301_java131.bat C:\NetRexx\3.0.1\bin>nrc hello NetRexx portable processor, version NetRexx 3.01, build 40-20120823-0156 Copyright (c) RexxLA, 2011,2012. All rights reserved. Parts Copyright (c) IBM Corporation, 1995,2008. Program hello.nrx Compilation of 'hello.nrx' successful New Window! C:\NetRexx\3.0.1\bin>\NetRexx\netrexx_301_java142.bat C:\NetRexx\3.0.1\bin>nrc hello NetRexx portable processor, version NetRexx 3.01, build 40-20120823-0156 Copyright (c) RexxLA, 2011,2012. All rights reserved. Parts Copyright (c) IBM Corporation, 1995,2008. Program hello.nrx Compilation of 'hello.nrx' successful New Window! C:\NetRexx\3.0.1\bin>\NetRexx\netrexx_301_java150.bat C:\NetRexx\3.0.1\bin>nrc hello NetRexx portable processor, version NetRexx 3.01, build 40-20120823-0156 Copyright (c) RexxLA, 2011,2012. All rights reserved. Parts Copyright (c) IBM Corporation, 1995,2008. Program hello.nrx Compilation of 'hello.nrx' successful -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of René Jansen Sent: dinsdag 9 april 2013 12:00 To: IBM Netrexx Subject: Re: [Ibm-netrexx] Announcing NetRexx 3.02 RC1 Michael, did you, by chance, run this test also with 3.01? best regards, René. On 26 mrt. 2013, at 16:22, [hidden email] wrote: > First attempt at RC1 so followed the read.me.first > > 1. Ensure that you have Java installed and running. > Try the command: 'java -version' to confirm this. > Download and install Java from www.java.com if it does not work. > >>> >>> Please add dependency on Java 1.6 and up on this as following with >>> 1.4.2 > and 1.5.0 results in a "NoClassDefFoundError" and "Invalid or corrupt" > jar file as below... >>> > > C:\NetRexx\3.0.2.RC1\lib>java -version java version "1.4.2" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28) > Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode) > > C:\NetRexx\3.0.2.RC1\lib>java -jar .\NetRexxF.jar -exec hello > Exception in thread "main" java.lang.NoClassDefFoundError: > java/lang/Iterable > at java.lang.ClassLoader.defineClass0(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:537) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) > at java.net.URLClassLoader.access$100(URLClassLoader.java:55) > at java.net.URLClassLoader$1.run(URLClassLoader.java:194) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:187) > at java.lang.ClassLoader.loadClass(ClassLoader.java:289) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) > at java.lang.ClassLoader.loadClass(ClassLoader.java:235) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) > at org.netrexx.process.NetRexxC.<clinit>(NetRexxC.nrx:60) > > C:\NetRexx\3.0.2.RC1\lib>java -Dnrx.compiler=ecj -jar NetRexxF.jar > hello Exception in thread "main" java.lang.NoClassDefFoundError: > java/lang/Iterable > at java.lang.ClassLoader.defineClass0(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:537) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) > at java.net.URLClassLoader.access$100(URLClassLoader.java:55) > at java.net.URLClassLoader$1.run(URLClassLoader.java:194) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:187) > at java.lang.ClassLoader.loadClass(ClassLoader.java:289) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) > at java.lang.ClassLoader.loadClass(ClassLoader.java:235) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) > at org.netrexx.process.NetRexxC.<clinit>(NetRexxC.nrx:60) > > > > C:\NetRexx\3.0.2.RC1\lib>java -version java version "1.5.0" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64) > Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing) > > C:\NetRexx\3.0.2.RC1\lib>java -jar .\NetRexxF.jar -exec hello Invalid > or corrupt jarfile .\NetRexxF.jar > > C:\NetRexx\3.0.2.RC1\lib>java -Dnrx.compiler=ecj -jar NetRexxF.jar > hello Invalid or corrupt jarfile NetRexxF.jar > > > > C:\NetRexx\3.0.2.RC1\lib>java -version java version "1.6.0_41" > Java(TM) SE Runtime Environment (build 1.6.0_41-b02) Java HotSpot(TM) > Client VM (build 20.14-b01, mixed mode, sharing) > > C:\NetRexx\3.0.2.RC1\lib>java -jar .\NetRexxF.jar -exec hello NetRexx > portable processor, version NetRexx 3.02, build 11-20130323-1551 > Copyright (c) RexxLA, 2011,2013. All rights reserved. > Parts Copyright (c) IBM Corporation, 1995,2008. > Program hello.nrx > ===== Exec: hello ===== > hello > Processing of 'hello.nrx' complete > > C:\NetRexx\3.0.2.RC1\lib>java -Dnrx.compiler=ecj -jar NetRexxF.jar > hello NetRexx portable processor, version NetRexx 3.02, build > 11-20130323-1551 Copyright (c) RexxLA, 2011,2013. All rights reserved. > Parts Copyright (c) IBM Corporation, 1995,2008. > Program hello.nrx > Compilation of 'hello.nrx' successful > > > Michael Dag > > -----Original Message----- > From: [hidden email] > [mailto:[hidden email]] On Behalf Of René Jansen > Sent: zondag 24 maart 2013 19:50 > To: IBM Netrexx > Subject: [Ibm-netrexx] Announcing NetRexx 3.02 RC1 > > You might receive this multiple times, depending on the number of rexx > related lists you are subscribed to. > > For shortness, the complete announcement is here: > http://rexx-language-association-forum.44760.n6.nabble.com/Announcing- > the-Ne tRexx-3-02-Release-Candidate-1-tp171.html > > I would like to invite you all to subscribe to the new public RexxLA > forum - maybe we then can have all our announcements in one place. > > best regards, > > René Jansen. > _______________________________________________ > 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/ _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
Michael,
true, there is no NetRexxF.jar. Thanks for your confirmation that 3.01 works on these releases. I am going to think about what we need to do here. Your input is welcome. best regards, René. On 9 apr. 2013, at 12:13, <[hidden email]> wrote: > > Rene, > There is no NetRexxF.jar in 3.01 as I can see. > Or do you mean can I generate a class file with java 1.4.2 and nrc? The > answer is yes it works with 1.3.1, 1.4.2 and 1.5.0 > > New Window! > C:\NetRexx\3.0.1\bin>\NetRexx\netrexx_301_java131.bat > C:\NetRexx\3.0.1\bin>nrc hello > NetRexx portable processor, version NetRexx 3.01, build 40-20120823-0156 > Copyright (c) RexxLA, 2011,2012. All rights reserved. > Parts Copyright (c) IBM Corporation, 1995,2008. > Program hello.nrx > Compilation of 'hello.nrx' successful > > New Window! > C:\NetRexx\3.0.1\bin>\NetRexx\netrexx_301_java142.bat > C:\NetRexx\3.0.1\bin>nrc hello > NetRexx portable processor, version NetRexx 3.01, build 40-20120823-0156 > Copyright (c) RexxLA, 2011,2012. All rights reserved. > Parts Copyright (c) IBM Corporation, 1995,2008. > Program hello.nrx > Compilation of 'hello.nrx' successful > > New Window! > C:\NetRexx\3.0.1\bin>\NetRexx\netrexx_301_java150.bat > C:\NetRexx\3.0.1\bin>nrc hello > NetRexx portable processor, version NetRexx 3.01, build 40-20120823-0156 > Copyright (c) RexxLA, 2011,2012. All rights reserved. > Parts Copyright (c) IBM Corporation, 1995,2008. > Program hello.nrx > Compilation of 'hello.nrx' successful > > > -----Original Message----- > From: [hidden email] > [mailto:[hidden email]] On Behalf Of René Jansen > Sent: dinsdag 9 april 2013 12:00 > To: IBM Netrexx > Subject: Re: [Ibm-netrexx] Announcing NetRexx 3.02 RC1 > > Michael, > > did you, by chance, run this test also with 3.01? > > best regards, > > René. > > On 26 mrt. 2013, at 16:22, [hidden email] wrote: > >> First attempt at RC1 so followed the read.me.first >> >> 1. Ensure that you have Java installed and running. >> Try the command: 'java -version' to confirm this. >> Download and install Java from www.java.com if it does not work. >> >>>> >>>> Please add dependency on Java 1.6 and up on this as following with >>>> 1.4.2 >> and 1.5.0 results in a "NoClassDefFoundError" and "Invalid or corrupt" >> jar file as below... >>>> >> >> C:\NetRexx\3.0.2.RC1\lib>java -version java version "1.4.2" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28) >> Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode) >> >> C:\NetRexx\3.0.2.RC1\lib>java -jar .\NetRexxF.jar -exec hello >> Exception in thread "main" java.lang.NoClassDefFoundError: >> java/lang/Iterable >> at java.lang.ClassLoader.defineClass0(Native Method) >> at java.lang.ClassLoader.defineClass(ClassLoader.java:537) >> at >> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) >> at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) >> at java.net.URLClassLoader.access$100(URLClassLoader.java:55) >> at java.net.URLClassLoader$1.run(URLClassLoader.java:194) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.net.URLClassLoader.findClass(URLClassLoader.java:187) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:289) >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:235) >> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) >> at org.netrexx.process.NetRexxC.<clinit>(NetRexxC.nrx:60) >> >> C:\NetRexx\3.0.2.RC1\lib>java -Dnrx.compiler=ecj -jar NetRexxF.jar >> hello Exception in thread "main" java.lang.NoClassDefFoundError: >> java/lang/Iterable >> at java.lang.ClassLoader.defineClass0(Native Method) >> at java.lang.ClassLoader.defineClass(ClassLoader.java:537) >> at >> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) >> at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) >> at java.net.URLClassLoader.access$100(URLClassLoader.java:55) >> at java.net.URLClassLoader$1.run(URLClassLoader.java:194) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.net.URLClassLoader.findClass(URLClassLoader.java:187) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:289) >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:235) >> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) >> at org.netrexx.process.NetRexxC.<clinit>(NetRexxC.nrx:60) >> >> >> >> C:\NetRexx\3.0.2.RC1\lib>java -version java version "1.5.0" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64) >> Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing) >> >> C:\NetRexx\3.0.2.RC1\lib>java -jar .\NetRexxF.jar -exec hello Invalid >> or corrupt jarfile .\NetRexxF.jar >> >> C:\NetRexx\3.0.2.RC1\lib>java -Dnrx.compiler=ecj -jar NetRexxF.jar >> hello Invalid or corrupt jarfile NetRexxF.jar >> >> >> >> C:\NetRexx\3.0.2.RC1\lib>java -version java version "1.6.0_41" >> Java(TM) SE Runtime Environment (build 1.6.0_41-b02) Java HotSpot(TM) >> Client VM (build 20.14-b01, mixed mode, sharing) >> >> C:\NetRexx\3.0.2.RC1\lib>java -jar .\NetRexxF.jar -exec hello NetRexx >> portable processor, version NetRexx 3.02, build 11-20130323-1551 >> Copyright (c) RexxLA, 2011,2013. All rights reserved. >> Parts Copyright (c) IBM Corporation, 1995,2008. >> Program hello.nrx >> ===== Exec: hello ===== >> hello >> Processing of 'hello.nrx' complete >> >> C:\NetRexx\3.0.2.RC1\lib>java -Dnrx.compiler=ecj -jar NetRexxF.jar >> hello NetRexx portable processor, version NetRexx 3.02, build >> 11-20130323-1551 Copyright (c) RexxLA, 2011,2013. All rights reserved. >> Parts Copyright (c) IBM Corporation, 1995,2008. >> Program hello.nrx >> Compilation of 'hello.nrx' successful >> >> >> Michael Dag >> >> -----Original Message----- >> From: [hidden email] >> [mailto:[hidden email]] On Behalf Of René Jansen >> Sent: zondag 24 maart 2013 19:50 >> To: IBM Netrexx >> Subject: [Ibm-netrexx] Announcing NetRexx 3.02 RC1 >> >> You might receive this multiple times, depending on the number of rexx >> related lists you are subscribed to. >> >> For shortness, the complete announcement is here: >> http://rexx-language-association-forum.44760.n6.nabble.com/Announcing- >> the-Ne tRexx-3-02-Release-Candidate-1-tp171.html >> >> I would like to invite you all to subscribe to the new public RexxLA >> forum - maybe we then can have all our announcements in one place. >> >> best regards, >> >> René Jansen. >> _______________________________________________ >> 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/ > > _______________________________________________ > 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/ |
I kind of missed the purpose of NetRexxF.jar
My problem was that fact that it is not clear that it only works with Java 1.6.0 and up to generate a class file. The class file then can still be used with java of a lower version as far as I can see. So for now a clear documentation update mentioning the 1.6.0 and up requirement should suffice for now. Michael -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of René Jansen Sent: dinsdag 9 april 2013 15:08 To: IBM Netrexx Subject: Re: [Ibm-netrexx] Announcing NetRexx 3.02 RC1 Michael, true, there is no NetRexxF.jar. Thanks for your confirmation that 3.01 works on these releases. I am going to think about what we need to do here. Your input is welcome. best regards, René. On 9 apr. 2013, at 12:13, <[hidden email]> wrote: > > Rene, > There is no NetRexxF.jar in 3.01 as I can see. > Or do you mean can I generate a class file with java 1.4.2 and nrc? > The answer is yes it works with 1.3.1, 1.4.2 and 1.5.0 > > New Window! > C:\NetRexx\3.0.1\bin>\NetRexx\netrexx_301_java131.bat > C:\NetRexx\3.0.1\bin>nrc hello > NetRexx portable processor, version NetRexx 3.01, build > 40-20120823-0156 Copyright (c) RexxLA, 2011,2012. All rights reserved. > Parts Copyright (c) IBM Corporation, 1995,2008. > Program hello.nrx > Compilation of 'hello.nrx' successful > > New Window! > C:\NetRexx\3.0.1\bin>\NetRexx\netrexx_301_java142.bat > C:\NetRexx\3.0.1\bin>nrc hello > NetRexx portable processor, version NetRexx 3.01, build > 40-20120823-0156 Copyright (c) RexxLA, 2011,2012. All rights reserved. > Parts Copyright (c) IBM Corporation, 1995,2008. > Program hello.nrx > Compilation of 'hello.nrx' successful > > New Window! > C:\NetRexx\3.0.1\bin>\NetRexx\netrexx_301_java150.bat > C:\NetRexx\3.0.1\bin>nrc hello > NetRexx portable processor, version NetRexx 3.01, build > 40-20120823-0156 Copyright (c) RexxLA, 2011,2012. All rights reserved. > Parts Copyright (c) IBM Corporation, 1995,2008. > Program hello.nrx > Compilation of 'hello.nrx' successful > > > -----Original Message----- > From: [hidden email] > [mailto:[hidden email]] On Behalf Of René Jansen > Sent: dinsdag 9 april 2013 12:00 > To: IBM Netrexx > Subject: Re: [Ibm-netrexx] Announcing NetRexx 3.02 RC1 > > Michael, > > did you, by chance, run this test also with 3.01? > > best regards, > > René. > > On 26 mrt. 2013, at 16:22, [hidden email] wrote: > >> First attempt at RC1 so followed the read.me.first >> >> 1. Ensure that you have Java installed and running. >> Try the command: 'java -version' to confirm this. >> Download and install Java from www.java.com if it does not work. >> >>>> >>>> Please add dependency on Java 1.6 and up on this as following with >>>> 1.4.2 >> and 1.5.0 results in a "NoClassDefFoundError" and "Invalid or corrupt" >> jar file as below... >>>> >> >> C:\NetRexx\3.0.2.RC1\lib>java -version java version "1.4.2" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28) >> Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode) >> >> C:\NetRexx\3.0.2.RC1\lib>java -jar .\NetRexxF.jar -exec hello >> Exception in thread "main" java.lang.NoClassDefFoundError: >> java/lang/Iterable >> at java.lang.ClassLoader.defineClass0(Native Method) >> at java.lang.ClassLoader.defineClass(ClassLoader.java:537) >> at >> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) >> at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) >> at java.net.URLClassLoader.access$100(URLClassLoader.java:55) >> at java.net.URLClassLoader$1.run(URLClassLoader.java:194) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.net.URLClassLoader.findClass(URLClassLoader.java:187) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:289) >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:235) >> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) >> at org.netrexx.process.NetRexxC.<clinit>(NetRexxC.nrx:60) >> >> C:\NetRexx\3.0.2.RC1\lib>java -Dnrx.compiler=ecj -jar NetRexxF.jar >> hello Exception in thread "main" java.lang.NoClassDefFoundError: >> java/lang/Iterable >> at java.lang.ClassLoader.defineClass0(Native Method) >> at java.lang.ClassLoader.defineClass(ClassLoader.java:537) >> at >> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) >> at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) >> at java.net.URLClassLoader.access$100(URLClassLoader.java:55) >> at java.net.URLClassLoader$1.run(URLClassLoader.java:194) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.net.URLClassLoader.findClass(URLClassLoader.java:187) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:289) >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:235) >> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) >> at org.netrexx.process.NetRexxC.<clinit>(NetRexxC.nrx:60) >> >> >> >> C:\NetRexx\3.0.2.RC1\lib>java -version java version "1.5.0" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64) >> Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing) >> >> C:\NetRexx\3.0.2.RC1\lib>java -jar .\NetRexxF.jar -exec hello Invalid >> or corrupt jarfile .\NetRexxF.jar >> >> C:\NetRexx\3.0.2.RC1\lib>java -Dnrx.compiler=ecj -jar NetRexxF.jar >> hello Invalid or corrupt jarfile NetRexxF.jar >> >> >> >> C:\NetRexx\3.0.2.RC1\lib>java -version java version "1.6.0_41" >> Java(TM) SE Runtime Environment (build 1.6.0_41-b02) Java HotSpot(TM) >> Client VM (build 20.14-b01, mixed mode, sharing) >> >> C:\NetRexx\3.0.2.RC1\lib>java -jar .\NetRexxF.jar -exec hello NetRexx >> portable processor, version NetRexx 3.02, build 11-20130323-1551 >> Copyright (c) RexxLA, 2011,2013. All rights reserved. >> Parts Copyright (c) IBM Corporation, 1995,2008. >> Program hello.nrx >> ===== Exec: hello ===== >> hello >> Processing of 'hello.nrx' complete >> >> C:\NetRexx\3.0.2.RC1\lib>java -Dnrx.compiler=ecj -jar NetRexxF.jar >> hello NetRexx portable processor, version NetRexx 3.02, build >> 11-20130323-1551 Copyright (c) RexxLA, 2011,2013. All rights reserved. >> Parts Copyright (c) IBM Corporation, 1995,2008. >> Program hello.nrx >> Compilation of 'hello.nrx' successful >> >> >> Michael Dag >> >> -----Original Message----- >> From: [hidden email] >> [mailto:[hidden email]] On Behalf Of René Jansen >> Sent: zondag 24 maart 2013 19:50 >> To: IBM Netrexx >> Subject: [Ibm-netrexx] Announcing NetRexx 3.02 RC1 >> >> You might receive this multiple times, depending on the number of >> rexx related lists you are subscribed to. >> >> For shortness, the complete announcement is here: >> http://rexx-language-association-forum.44760.n6.nabble.com/Announcing >> - the-Ne tRexx-3-02-Release-Candidate-1-tp171.html >> >> I would like to invite you all to subscribe to the new public RexxLA >> forum - maybe we then can have all our announcements in one place. >> >> best regards, >> >> René Jansen. >> _______________________________________________ >> 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/ > > _______________________________________________ > 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/ |
Hi Michael,
the purpose of it is to have a way to have new users run NetRexx without the dreaded missing compiler error. It is intended to be fully compatible. The dependency on Java 1.6 will be documented but I am still trying to lower this to 1.5; this will need to happen in the next few days. It might be the ecj compiler that causes it; I am most worried about the 'invalid jar' message. Standby while we investigate. best regards, René. On 9 apr. 2013, at 17:35, <[hidden email]> wrote: > I kind of missed the purpose of NetRexxF.jar > > My problem was that fact that it is not clear that it only works with Java > 1.6.0 and up to generate a class file. > The class file then can still be used with java of a lower version as far as > I can see. > > So for now a clear documentation update mentioning the 1.6.0 and up > requirement should suffice for now. > > Michael > > -----Original Message----- > From: [hidden email] > [mailto:[hidden email]] On Behalf Of René Jansen > Sent: dinsdag 9 april 2013 15:08 > To: IBM Netrexx > Subject: Re: [Ibm-netrexx] Announcing NetRexx 3.02 RC1 > > Michael, > > true, there is no NetRexxF.jar. Thanks for your confirmation that 3.01 works > on these releases. I am going to think about what we need to do here. Your > input is welcome. > > best regards, > > René. > > On 9 apr. 2013, at 12:13, <[hidden email]> wrote: > >> >> Rene, >> There is no NetRexxF.jar in 3.01 as I can see. >> Or do you mean can I generate a class file with java 1.4.2 and nrc? >> The answer is yes it works with 1.3.1, 1.4.2 and 1.5.0 >> >> New Window! >> C:\NetRexx\3.0.1\bin>\NetRexx\netrexx_301_java131.bat >> C:\NetRexx\3.0.1\bin>nrc hello >> NetRexx portable processor, version NetRexx 3.01, build >> 40-20120823-0156 Copyright (c) RexxLA, 2011,2012. All rights reserved. >> Parts Copyright (c) IBM Corporation, 1995,2008. >> Program hello.nrx >> Compilation of 'hello.nrx' successful >> >> New Window! >> C:\NetRexx\3.0.1\bin>\NetRexx\netrexx_301_java142.bat >> C:\NetRexx\3.0.1\bin>nrc hello >> NetRexx portable processor, version NetRexx 3.01, build >> 40-20120823-0156 Copyright (c) RexxLA, 2011,2012. All rights reserved. >> Parts Copyright (c) IBM Corporation, 1995,2008. >> Program hello.nrx >> Compilation of 'hello.nrx' successful >> >> New Window! >> C:\NetRexx\3.0.1\bin>\NetRexx\netrexx_301_java150.bat >> C:\NetRexx\3.0.1\bin>nrc hello >> NetRexx portable processor, version NetRexx 3.01, build >> 40-20120823-0156 Copyright (c) RexxLA, 2011,2012. All rights reserved. >> Parts Copyright (c) IBM Corporation, 1995,2008. >> Program hello.nrx >> Compilation of 'hello.nrx' successful >> >> >> -----Original Message----- >> From: [hidden email] >> [mailto:[hidden email]] On Behalf Of René Jansen >> Sent: dinsdag 9 april 2013 12:00 >> To: IBM Netrexx >> Subject: Re: [Ibm-netrexx] Announcing NetRexx 3.02 RC1 >> >> Michael, >> >> did you, by chance, run this test also with 3.01? >> >> best regards, >> >> René. >> >> On 26 mrt. 2013, at 16:22, [hidden email] wrote: >> >>> First attempt at RC1 so followed the read.me.first >>> >>> 1. Ensure that you have Java installed and running. >>> Try the command: 'java -version' to confirm this. >>> Download and install Java from www.java.com if it does not work. >>> >>>>> >>>>> Please add dependency on Java 1.6 and up on this as following with >>>>> 1.4.2 >>> and 1.5.0 results in a "NoClassDefFoundError" and "Invalid or corrupt" >>> jar file as below... >>>>> >>> >>> C:\NetRexx\3.0.2.RC1\lib>java -version java version "1.4.2" >>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28) >>> Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode) >>> >>> C:\NetRexx\3.0.2.RC1\lib>java -jar .\NetRexxF.jar -exec hello >>> Exception in thread "main" java.lang.NoClassDefFoundError: >>> java/lang/Iterable >>> at java.lang.ClassLoader.defineClass0(Native Method) >>> at java.lang.ClassLoader.defineClass(ClassLoader.java:537) >>> at >>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) >>> at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) >>> at java.net.URLClassLoader.access$100(URLClassLoader.java:55) >>> at java.net.URLClassLoader$1.run(URLClassLoader.java:194) >>> at java.security.AccessController.doPrivileged(Native Method) >>> at java.net.URLClassLoader.findClass(URLClassLoader.java:187) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:289) >>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:235) >>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) >>> at org.netrexx.process.NetRexxC.<clinit>(NetRexxC.nrx:60) >>> >>> C:\NetRexx\3.0.2.RC1\lib>java -Dnrx.compiler=ecj -jar NetRexxF.jar >>> hello Exception in thread "main" java.lang.NoClassDefFoundError: >>> java/lang/Iterable >>> at java.lang.ClassLoader.defineClass0(Native Method) >>> at java.lang.ClassLoader.defineClass(ClassLoader.java:537) >>> at >>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) >>> at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) >>> at java.net.URLClassLoader.access$100(URLClassLoader.java:55) >>> at java.net.URLClassLoader$1.run(URLClassLoader.java:194) >>> at java.security.AccessController.doPrivileged(Native Method) >>> at java.net.URLClassLoader.findClass(URLClassLoader.java:187) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:289) >>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:235) >>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) >>> at org.netrexx.process.NetRexxC.<clinit>(NetRexxC.nrx:60) >>> >>> >>> >>> C:\NetRexx\3.0.2.RC1\lib>java -version java version "1.5.0" >>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64) >>> Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing) >>> >>> C:\NetRexx\3.0.2.RC1\lib>java -jar .\NetRexxF.jar -exec hello Invalid >>> or corrupt jarfile .\NetRexxF.jar >>> >>> C:\NetRexx\3.0.2.RC1\lib>java -Dnrx.compiler=ecj -jar NetRexxF.jar >>> hello Invalid or corrupt jarfile NetRexxF.jar >>> >>> >>> >>> C:\NetRexx\3.0.2.RC1\lib>java -version java version "1.6.0_41" >>> Java(TM) SE Runtime Environment (build 1.6.0_41-b02) Java HotSpot(TM) >>> Client VM (build 20.14-b01, mixed mode, sharing) >>> >>> C:\NetRexx\3.0.2.RC1\lib>java -jar .\NetRexxF.jar -exec hello NetRexx >>> portable processor, version NetRexx 3.02, build 11-20130323-1551 >>> Copyright (c) RexxLA, 2011,2013. All rights reserved. >>> Parts Copyright (c) IBM Corporation, 1995,2008. >>> Program hello.nrx >>> ===== Exec: hello ===== >>> hello >>> Processing of 'hello.nrx' complete >>> >>> C:\NetRexx\3.0.2.RC1\lib>java -Dnrx.compiler=ecj -jar NetRexxF.jar >>> hello NetRexx portable processor, version NetRexx 3.02, build >>> 11-20130323-1551 Copyright (c) RexxLA, 2011,2013. All rights reserved. >>> Parts Copyright (c) IBM Corporation, 1995,2008. >>> Program hello.nrx >>> Compilation of 'hello.nrx' successful >>> >>> >>> Michael Dag >>> >>> -----Original Message----- >>> From: [hidden email] >>> [mailto:[hidden email]] On Behalf Of René Jansen >>> Sent: zondag 24 maart 2013 19:50 >>> To: IBM Netrexx >>> Subject: [Ibm-netrexx] Announcing NetRexx 3.02 RC1 >>> >>> You might receive this multiple times, depending on the number of >>> rexx related lists you are subscribed to. >>> >>> For shortness, the complete announcement is here: >>> http://rexx-language-association-forum.44760.n6.nabble.com/Announcing >>> - the-Ne tRexx-3-02-Release-Candidate-1-tp171.html >>> >>> I would like to invite you all to subscribe to the new public RexxLA >>> forum - maybe we then can have all our announcements in one place. >>> >>> best regards, >>> >>> René Jansen. >>> _______________________________________________ >>> 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/ >> >> _______________________________________________ >> 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/ > _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
ok if you want me to test something (just send me a new NetRexxF.jar) let me
know. -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of René Jansen Sent: dinsdag 9 april 2013 18:01 To: IBM Netrexx Subject: Re: [Ibm-netrexx] Announcing NetRexx 3.02 RC1 Hi Michael, the purpose of it is to have a way to have new users run NetRexx without the dreaded missing compiler error. It is intended to be fully compatible. The dependency on Java 1.6 will be documented but I am still trying to lower this to 1.5; this will need to happen in the next few days. It might be the ecj compiler that causes it; I am most worried about the 'invalid jar' message. Standby while we investigate. best regards, René. On 9 apr. 2013, at 17:35, <[hidden email]> wrote: > I kind of missed the purpose of NetRexxF.jar > > My problem was that fact that it is not clear that it only works with > Java > 1.6.0 and up to generate a class file. > The class file then can still be used with java of a lower version as > far as I can see. > > So for now a clear documentation update mentioning the 1.6.0 and up > requirement should suffice for now. > > Michael > > -----Original Message----- > From: [hidden email] > [mailto:[hidden email]] On Behalf Of René Jansen > Sent: dinsdag 9 april 2013 15:08 > To: IBM Netrexx > Subject: Re: [Ibm-netrexx] Announcing NetRexx 3.02 RC1 > > Michael, > > true, there is no NetRexxF.jar. Thanks for your confirmation that 3.01 > works on these releases. I am going to think about what we need to do > here. Your input is welcome. > > best regards, > > René. > > On 9 apr. 2013, at 12:13, <[hidden email]> wrote: > >> >> Rene, >> There is no NetRexxF.jar in 3.01 as I can see. >> Or do you mean can I generate a class file with java 1.4.2 and nrc? >> The answer is yes it works with 1.3.1, 1.4.2 and 1.5.0 >> >> New Window! >> C:\NetRexx\3.0.1\bin>\NetRexx\netrexx_301_java131.bat >> C:\NetRexx\3.0.1\bin>nrc hello >> NetRexx portable processor, version NetRexx 3.01, build >> 40-20120823-0156 Copyright (c) RexxLA, 2011,2012. All rights reserved. >> Parts Copyright (c) IBM Corporation, 1995,2008. >> Program hello.nrx >> Compilation of 'hello.nrx' successful >> >> New Window! >> C:\NetRexx\3.0.1\bin>\NetRexx\netrexx_301_java142.bat >> C:\NetRexx\3.0.1\bin>nrc hello >> NetRexx portable processor, version NetRexx 3.01, build >> 40-20120823-0156 Copyright (c) RexxLA, 2011,2012. All rights reserved. >> Parts Copyright (c) IBM Corporation, 1995,2008. >> Program hello.nrx >> Compilation of 'hello.nrx' successful >> >> New Window! >> C:\NetRexx\3.0.1\bin>\NetRexx\netrexx_301_java150.bat >> C:\NetRexx\3.0.1\bin>nrc hello >> NetRexx portable processor, version NetRexx 3.01, build >> 40-20120823-0156 Copyright (c) RexxLA, 2011,2012. All rights reserved. >> Parts Copyright (c) IBM Corporation, 1995,2008. >> Program hello.nrx >> Compilation of 'hello.nrx' successful >> >> >> -----Original Message----- >> From: [hidden email] >> [mailto:[hidden email]] On Behalf Of René Jansen >> Sent: dinsdag 9 april 2013 12:00 >> To: IBM Netrexx >> Subject: Re: [Ibm-netrexx] Announcing NetRexx 3.02 RC1 >> >> Michael, >> >> did you, by chance, run this test also with 3.01? >> >> best regards, >> >> René. >> >> On 26 mrt. 2013, at 16:22, [hidden email] wrote: >> >>> First attempt at RC1 so followed the read.me.first >>> >>> 1. Ensure that you have Java installed and running. >>> Try the command: 'java -version' to confirm this. >>> Download and install Java from www.java.com if it does not work. >>> >>>>> >>>>> Please add dependency on Java 1.6 and up on this as following with >>>>> 1.4.2 >>> and 1.5.0 results in a "NoClassDefFoundError" and "Invalid or corrupt" >>> jar file as below... >>>>> >>> >>> C:\NetRexx\3.0.2.RC1\lib>java -version java version "1.4.2" >>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28) >>> Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode) >>> >>> C:\NetRexx\3.0.2.RC1\lib>java -jar .\NetRexxF.jar -exec hello >>> Exception in thread "main" java.lang.NoClassDefFoundError: >>> java/lang/Iterable >>> at java.lang.ClassLoader.defineClass0(Native Method) >>> at java.lang.ClassLoader.defineClass(ClassLoader.java:537) >>> at >>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) >>> at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) >>> at java.net.URLClassLoader.access$100(URLClassLoader.java:55) >>> at java.net.URLClassLoader$1.run(URLClassLoader.java:194) >>> at java.security.AccessController.doPrivileged(Native Method) >>> at java.net.URLClassLoader.findClass(URLClassLoader.java:187) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:289) >>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:235) >>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) >>> at org.netrexx.process.NetRexxC.<clinit>(NetRexxC.nrx:60) >>> >>> C:\NetRexx\3.0.2.RC1\lib>java -Dnrx.compiler=ecj -jar NetRexxF.jar >>> hello Exception in thread "main" java.lang.NoClassDefFoundError: >>> java/lang/Iterable >>> at java.lang.ClassLoader.defineClass0(Native Method) >>> at java.lang.ClassLoader.defineClass(ClassLoader.java:537) >>> at >>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) >>> at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) >>> at java.net.URLClassLoader.access$100(URLClassLoader.java:55) >>> at java.net.URLClassLoader$1.run(URLClassLoader.java:194) >>> at java.security.AccessController.doPrivileged(Native Method) >>> at java.net.URLClassLoader.findClass(URLClassLoader.java:187) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:289) >>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:235) >>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) >>> at org.netrexx.process.NetRexxC.<clinit>(NetRexxC.nrx:60) >>> >>> >>> >>> C:\NetRexx\3.0.2.RC1\lib>java -version java version "1.5.0" >>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64) >>> Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing) >>> >>> C:\NetRexx\3.0.2.RC1\lib>java -jar .\NetRexxF.jar -exec hello >>> Invalid or corrupt jarfile .\NetRexxF.jar >>> >>> C:\NetRexx\3.0.2.RC1\lib>java -Dnrx.compiler=ecj -jar NetRexxF.jar >>> hello Invalid or corrupt jarfile NetRexxF.jar >>> >>> >>> >>> C:\NetRexx\3.0.2.RC1\lib>java -version java version "1.6.0_41" >>> Java(TM) SE Runtime Environment (build 1.6.0_41-b02) Java >>> HotSpot(TM) Client VM (build 20.14-b01, mixed mode, sharing) >>> >>> C:\NetRexx\3.0.2.RC1\lib>java -jar .\NetRexxF.jar -exec hello >>> NetRexx portable processor, version NetRexx 3.02, build >>> 11-20130323-1551 Copyright (c) RexxLA, 2011,2013. All rights reserved. >>> Parts Copyright (c) IBM Corporation, 1995,2008. >>> Program hello.nrx >>> ===== Exec: hello ===== >>> hello >>> Processing of 'hello.nrx' complete >>> >>> C:\NetRexx\3.0.2.RC1\lib>java -Dnrx.compiler=ecj -jar NetRexxF.jar >>> hello NetRexx portable processor, version NetRexx 3.02, build >>> 11-20130323-1551 Copyright (c) RexxLA, 2011,2013. All rights reserved. >>> Parts Copyright (c) IBM Corporation, 1995,2008. >>> Program hello.nrx >>> Compilation of 'hello.nrx' successful >>> >>> >>> Michael Dag >>> >>> -----Original Message----- >>> From: [hidden email] >>> [mailto:[hidden email]] On Behalf Of René >>> Jansen >>> Sent: zondag 24 maart 2013 19:50 >>> To: IBM Netrexx >>> Subject: [Ibm-netrexx] Announcing NetRexx 3.02 RC1 >>> >>> You might receive this multiple times, depending on the number of >>> rexx related lists you are subscribed to. >>> >>> For shortness, the complete announcement is here: >>> http://rexx-language-association-forum.44760.n6.nabble.com/Announcin >>> g >>> - the-Ne tRexx-3-02-Release-Candidate-1-tp171.html >>> >>> I would like to invite you all to subscribe to the new public RexxLA >>> forum - maybe we then can have all our announcements in one place. >>> >>> best regards, >>> >>> René Jansen. >>> _______________________________________________ >>> 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/ >> >> _______________________________________________ >> 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/ > _______________________________________________ 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/ |
In reply to this post by rvjansen
The good news is that yesterday afternoon I could reproduce and track down the "Invalid or corrupt jar file' error on Java 1.5. It is a regression in Java 1.5 that occurred some time earlier in 1.4.2: the MANIFEST.MF file parser was faulty for some time. Cleaning out the superfluous entries makes the example run on 1.5; it only needs Manifest-version and Main-Class.
The bad news is that we now cannot release 3.02 on the planned date and need to have a new release candidate. This gives us to opportunity to include the installer that Tom Maynard delivered. I am now aiming to release around the symposium, early May, Thanks for finding this error. best regards, René. On 9 apr. 2013, at 18:00, René Jansen <[hidden email]> wrote: > Hi Michael, > > the purpose of it is to have a way to have new users run NetRexx without the dreaded missing compiler error. It is intended to be fully compatible. The dependency on Java 1.6 will be documented but I am still trying to lower this to 1.5; this will need to happen in the next few days. It might be the ecj compiler that causes it; I am most worried about the 'invalid jar' message. Standby while we investigate. > > best regards, > > René. > > On 9 apr. 2013, at 17:35, <[hidden email]> wrote: > >> I kind of missed the purpose of NetRexxF.jar >> >> My problem was that fact that it is not clear that it only works with Java >> 1.6.0 and up to generate a class file. >> The class file then can still be used with java of a lower version as far as >> I can see. >> >> So for now a clear documentation update mentioning the 1.6.0 and up >> requirement should suffice for now. >> >> Michael >> >> -----Original Message----- >> From: [hidden email] >> [mailto:[hidden email]] On Behalf Of René Jansen >> Sent: dinsdag 9 april 2013 15:08 >> To: IBM Netrexx >> Subject: Re: [Ibm-netrexx] Announcing NetRexx 3.02 RC1 >> >> Michael, >> >> true, there is no NetRexxF.jar. Thanks for your confirmation that 3.01 works >> on these releases. I am going to think about what we need to do here. Your >> input is welcome. >> >> best regards, >> >> René. >> >> On 9 apr. 2013, at 12:13, <[hidden email]> wrote: >> >>> >>> Rene, >>> There is no NetRexxF.jar in 3.01 as I can see. >>> Or do you mean can I generate a class file with java 1.4.2 and nrc? >>> The answer is yes it works with 1.3.1, 1.4.2 and 1.5.0 >>> >>> New Window! >>> C:\NetRexx\3.0.1\bin>\NetRexx\netrexx_301_java131.bat >>> C:\NetRexx\3.0.1\bin>nrc hello >>> NetRexx portable processor, version NetRexx 3.01, build >>> 40-20120823-0156 Copyright (c) RexxLA, 2011,2012. All rights reserved. >>> Parts Copyright (c) IBM Corporation, 1995,2008. >>> Program hello.nrx >>> Compilation of 'hello.nrx' successful >>> >>> New Window! >>> C:\NetRexx\3.0.1\bin>\NetRexx\netrexx_301_java142.bat >>> C:\NetRexx\3.0.1\bin>nrc hello >>> NetRexx portable processor, version NetRexx 3.01, build >>> 40-20120823-0156 Copyright (c) RexxLA, 2011,2012. All rights reserved. >>> Parts Copyright (c) IBM Corporation, 1995,2008. >>> Program hello.nrx >>> Compilation of 'hello.nrx' successful >>> >>> New Window! >>> C:\NetRexx\3.0.1\bin>\NetRexx\netrexx_301_java150.bat >>> C:\NetRexx\3.0.1\bin>nrc hello >>> NetRexx portable processor, version NetRexx 3.01, build >>> 40-20120823-0156 Copyright (c) RexxLA, 2011,2012. All rights reserved. >>> Parts Copyright (c) IBM Corporation, 1995,2008. >>> Program hello.nrx >>> Compilation of 'hello.nrx' successful >>> >>> >>> -----Original Message----- >>> From: [hidden email] >>> [mailto:[hidden email]] On Behalf Of René Jansen >>> Sent: dinsdag 9 april 2013 12:00 >>> To: IBM Netrexx >>> Subject: Re: [Ibm-netrexx] Announcing NetRexx 3.02 RC1 >>> >>> Michael, >>> >>> did you, by chance, run this test also with 3.01? >>> >>> best regards, >>> >>> René. >>> >>> On 26 mrt. 2013, at 16:22, [hidden email] wrote: >>> >>>> First attempt at RC1 so followed the read.me.first >>>> >>>> 1. Ensure that you have Java installed and running. >>>> Try the command: 'java -version' to confirm this. >>>> Download and install Java from www.java.com if it does not work. >>>> >>>>>> >>>>>> Please add dependency on Java 1.6 and up on this as following with >>>>>> 1.4.2 >>>> and 1.5.0 results in a "NoClassDefFoundError" and "Invalid or corrupt" >>>> jar file as below... >>>>>> >>>> >>>> C:\NetRexx\3.0.2.RC1\lib>java -version java version "1.4.2" >>>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28) >>>> Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode) >>>> >>>> C:\NetRexx\3.0.2.RC1\lib>java -jar .\NetRexxF.jar -exec hello >>>> Exception in thread "main" java.lang.NoClassDefFoundError: >>>> java/lang/Iterable >>>> at java.lang.ClassLoader.defineClass0(Native Method) >>>> at java.lang.ClassLoader.defineClass(ClassLoader.java:537) >>>> at >>>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) >>>> at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) >>>> at java.net.URLClassLoader.access$100(URLClassLoader.java:55) >>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:194) >>>> at java.security.AccessController.doPrivileged(Native Method) >>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:187) >>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:289) >>>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) >>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:235) >>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) >>>> at org.netrexx.process.NetRexxC.<clinit>(NetRexxC.nrx:60) >>>> >>>> C:\NetRexx\3.0.2.RC1\lib>java -Dnrx.compiler=ecj -jar NetRexxF.jar >>>> hello Exception in thread "main" java.lang.NoClassDefFoundError: >>>> java/lang/Iterable >>>> at java.lang.ClassLoader.defineClass0(Native Method) >>>> at java.lang.ClassLoader.defineClass(ClassLoader.java:537) >>>> at >>>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) >>>> at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) >>>> at java.net.URLClassLoader.access$100(URLClassLoader.java:55) >>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:194) >>>> at java.security.AccessController.doPrivileged(Native Method) >>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:187) >>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:289) >>>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) >>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:235) >>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) >>>> at org.netrexx.process.NetRexxC.<clinit>(NetRexxC.nrx:60) >>>> >>>> >>>> >>>> C:\NetRexx\3.0.2.RC1\lib>java -version java version "1.5.0" >>>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64) >>>> Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing) >>>> >>>> C:\NetRexx\3.0.2.RC1\lib>java -jar .\NetRexxF.jar -exec hello Invalid >>>> or corrupt jarfile .\NetRexxF.jar >>>> >>>> C:\NetRexx\3.0.2.RC1\lib>java -Dnrx.compiler=ecj -jar NetRexxF.jar >>>> hello Invalid or corrupt jarfile NetRexxF.jar >>>> >>>> >>>> >>>> C:\NetRexx\3.0.2.RC1\lib>java -version java version "1.6.0_41" >>>> Java(TM) SE Runtime Environment (build 1.6.0_41-b02) Java HotSpot(TM) >>>> Client VM (build 20.14-b01, mixed mode, sharing) >>>> >>>> C:\NetRexx\3.0.2.RC1\lib>java -jar .\NetRexxF.jar -exec hello NetRexx >>>> portable processor, version NetRexx 3.02, build 11-20130323-1551 >>>> Copyright (c) RexxLA, 2011,2013. All rights reserved. >>>> Parts Copyright (c) IBM Corporation, 1995,2008. >>>> Program hello.nrx >>>> ===== Exec: hello ===== >>>> hello >>>> Processing of 'hello.nrx' complete >>>> >>>> C:\NetRexx\3.0.2.RC1\lib>java -Dnrx.compiler=ecj -jar NetRexxF.jar >>>> hello NetRexx portable processor, version NetRexx 3.02, build >>>> 11-20130323-1551 Copyright (c) RexxLA, 2011,2013. All rights reserved. >>>> Parts Copyright (c) IBM Corporation, 1995,2008. >>>> Program hello.nrx >>>> Compilation of 'hello.nrx' successful >>>> >>>> >>>> Michael Dag >>>> >>>> -----Original Message----- >>>> From: [hidden email] >>>> [mailto:[hidden email]] On Behalf Of René Jansen >>>> Sent: zondag 24 maart 2013 19:50 >>>> To: IBM Netrexx >>>> Subject: [Ibm-netrexx] Announcing NetRexx 3.02 RC1 >>>> >>>> You might receive this multiple times, depending on the number of >>>> rexx related lists you are subscribed to. >>>> >>>> For shortness, the complete announcement is here: >>>> http://rexx-language-association-forum.44760.n6.nabble.com/Announcing >>>> - the-Ne tRexx-3-02-Release-Candidate-1-tp171.html >>>> >>>> I would like to invite you all to subscribe to the new public RexxLA >>>> forum - maybe we then can have all our announcements in one place. >>>> >>>> best regards, >>>> >>>> René Jansen. >>>> _______________________________________________ >>>> 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/ >>> >>> _______________________________________________ >>> 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/ >> > _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
Free forum by Nabble | Edit this page |