On 23-Feb-14 05:50, Rony G. Flatscher wrote:
Have you deleted your bsf4oorexx-directory and ran setupAllAndRun.rex with administrative rights?
If you included the step in your instructions (which you did), then I would have performed it (which I did). But, in the end, all was well anyways….
Depending on the distribution this is also needed for setting up the BSF4ooRexx menu entries accordingly. On Windows the creation of a new process is needed to get the environment variable changes.
Both your book and the scant documentation that accompanies the download mention this mythical “BSF4ooRexx menu“ and yet despite looking high and low, I remain unable to find anything remotely resembling a “menu” for BSF4ooRexx. How does one cause it to appear, exactly?
Ha, an important observation !
I was becoming frustrated (again) and abandoned that idea, finished up the task that took me to Linux-land, and simply booted back into Windows. Having seen the successful install on Linux, or at least the window that appears to announce it was successful, I was reasonably sure I had seen that same window on, well, Windows the last time (as you suggested, above).
These may be “my declining years” but my powers of observation have not diminished that much (just yet) :-) Errors that my wife simply closes to “get out of her way” I tend to read, since they typically point to the cause of the problem. Successful results are similar (if rarer).
Hmm, the logfile you attached does not have any success information in it.
So I looked more closely at the logfile, and it confirmed that the installation was successful.
Unfortunately, I decided not to send the Linux logfile (since I am fairly confident that I am now able to run BSF4ooRexx programs on either platform). All of those you have seen are from the Windows side of things.
Also, there are no traces of "C:\Program Files\BSF4ooRexx" in PATH or CLASSPATH, so maybe you are referring to a different logfile then?
Nope: Only a single user exists on either Linux or Windows … at least on my computer. But, to give you a second glance:
Tom@venus c:\users\tom $ p PATH=C:\Users\Tom\bin C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common C:\WINDOWS\system32 C:\WINDOWS C:\WINDOWS\System32\Wbem C:\WINDOWS\System32\WindowsPowerShell\v1.0\ C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\ C:\Program Files (x86)\GnuWin32\bin C:\Program Files\Java\jdk1.7.0_45\bin C:\Program Files (x86)\Git\cmd C:\Program Files (x86)\Git\bin C:\Program Files\Microsoft SQL Server\110\Tools\Binn\ C:\Program Files\ooRexx C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86 C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64 C:\Program Files\BSF4ooRexx C:\Program Files\Java\jre7\bin\server C:\HashiCorp\Vagrant\bin C:\Ruby200\bin C:\Users\Tom\netrexx\bin CLASSPATH= . C:\Users\Tom\netrexx\lib\NetRexxC.jar C:\Program Files\Java\jdk1.7.0_45\lib\tools.jar
And, to clear up any
remaining mystery, my
routine is defined as:
Tom@venus c:\users\tom $ type bin\p.cmd @Echo Off path | sed -e 's/;/\n/g' echo CLASSPATH= echo %classpath% | sed -e 's/;/\n/g'
Hmm. Sounds a little bit like Voodoo given all of the information and experiences so far. :)
I looked more carefully at my PATH, and BSF4ooRexx was there (in the middle, oddly. I was expecting an insertion at the head or tail of the list.)
Looking at the information (above) you’ll see that the BSF path has been inserted in the middle of the bunch … still a surprise to me (and would cause me to overlook it again in future).
Please check whether you can also run (note the missing trailing 'j', hence using plain rexx to run the program):
rexx "\Program Files\BSF4ooRexx\samples\HelloWorld.rxj"
Um, no. From my own
$ rexx "\Program Files\BSF4ooRexx\samples\HelloWorld.rxj" 89 *-* ::REQUIRES BSF.CLS -- get the Java support Error 40 running C:\Program Files\BSF4ooRexx\samples\HelloWorld.rxj line 89: In correct call to routine Error 40.900: BSF4ooRexx/routine/BsfLoadJava(), error 5.994: initialization err or, cannot find class 'org/rexxla/bsf/engines/rexx/Java4Rexx'
I don’t usually push my luck quite that far, Rony. I was happy for a moment. Now I’m not so sure.
And in addition you should also be able to run a program by just double-clicking it in the Windows Explorer. Doing a right-click should give you a list of BSF4ooRexx-defined menu items.
Again, no to both of these:
Openoption seems at all relevant, and choosing it causes the same result as (#1): A brief flash of a console window, no readable errors
but I am happy at least.
Well, I was
happy until you made me prove that there is still something
“rotten in Denmark.”
But, I can always put a
clothespin on my nose and continue to experiment within my
restrictions. If you need me to help in any way, don't hesitate
to ask! In fact, I even have a licensed copy of Windows 8.0
(surplused when I migrated to v8.1). I could send the disc to
you ... if it would help the development team at all. I'm
unsure of the legality of such a move, but then, "IANAL" (I am
not a lawyer ... nor do I play one on TV).