From: Rony G. F. <Ron...@wu...> - 2014-11-05 10:48:25
|
Hi Erich, On 04.11.2014 20:39, Erich Steinböck wrote: > Trying to install bsf4oorexx for the first time ever, the install fails with the following output. > How can I fix this issue? the installation program looks for the home directory of your Java installation. As you are using ooRexx 64-bit the registry entry is searched in the 64-bit registry entries under the key "HKLM\Software\JavaSoft\Java Runtime Environment\CurrentVersion" which seems to be not present (another possibilty: maybe security settings do not allow the installation program to see it). This became necessary, because java.exe was not on your PATH environment variable, otherwise. May I ask you the following: * If you open a command line window and enter "java -v", what is the result? * If you have Java installed and if you look at your registry, e.g. with "regedit", do you have an entry "HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Runtime Environment\CurrentVersion"? * Do you have a 64-bit Java installed on your system or is it 32-bit only? o If 32-bit only, then install the 64-bit Java version as well. Alternatively, uninstall the 64-bit version of ooRexx and install the 32-bit version. To rerun the installation: it seems that the downloaded package was copied to the target directory "C:\Program Files\BSF4ooRexx\" successfully, which means that as long as that directory exists, a new installation stops for security reasons. Just delete that directory and run the install script again. If it is a security issue, e.g. elevation was not carried out for the installation, then (after deleting "C:\Program Files\BSF4ooRexx\") you could open a command line window with administrative rights, issue a "cd C:\Users\IBM_ADMIN\Downloads\ooRexx\BSF4ooRexx\bsf4oorexx\install" and run "rexx setupAllAndRun.rex install". Please let us know your answers and how it goes! HTH, ---rony > 2014-11-04T20:26:45.542000: cmd.eRexxBitness......... [64] > 2014-11-04T20:26:45.543000: Operating system version, command: [ver], yielding: > 2014-11-04T20:26:45.570000: cmd.eOpSys............... [W] > 2014-11-04T20:26:45.571000: cmd.eOpSysFull........... [WindowsNT 6.01] > 2014-11-04T20:26:45.571000: Operating system's environment, command: set > 2014-11-04T20:26:45.595000: cmd.eOriginalDirectory... > [C:\Users\IBM_ADMIN\Downloads\ooRexx\BSF4ooRexx\bsf4oorexx\install\windows] > 2014-11-04T20:26:45.596000: cmd.eDefaultTargetDir.... [C:\Program Files\BSF4ooRexx] > 2014-11-04T20:26:45.596000: cmd.eThisDir............. > [C:\Users\IBM_ADMIN\Downloads\ooRexx\BSF4ooRexx\bsf4oorexx\install] > > 2014-11-04T20:26:45.597000: setupAllAndRun.rex: install branch with targetDir=[C:\Program > Files\BSF4ooRexx] ... > 2014-11-04T20:26:45.598000: copyPackage(): targetDir=[C:\Program Files\BSF4ooRexx] > 2014-11-04T20:26:45.598000: setupAllAndRun.rex copyPackage() - (install-mode): about to run 'xcopy > /s /r /k /y ..\* "C:\Program Files\BSF4ooRexx\"' ... > 2014-11-04T20:26:49.506000: createAndRunInstallationScripts(): mode=[install], 'call > createInstallScript(setupBSF.rex)' > 2014-11-04T20:26:49.514000: setupBSF.rex: no path to Java's binary supplied, using > determinePath2javaBinary()... > 2014-11-04T20:26:49.517000: determinePath2javaBinary(), getFromPath() returned:[java.exe] > 2014-11-04T20:26:49.519000: determinePath2javaBinary(), Java binary not found, consulting registry ... > 2014-11-04T20:26:49.609000: *-* Compiled method UNKNOWN with scope "OLEObject" > 2014-11-04T20:26:49.611000: 1833 *-* > version=wsh~regRead(basekey"\CurrentVersion") > 2014-11-04T20:26:49.613000: 216 *-* call determinePath2javaBinary > 2014-11-04T20:26:49.615000: 784 *-* call (createInstallScript) > 2014-11-04T20:26:49.617000: 474 *-* res=createAndRunInstallationScripts(cmd., "install", > cmd.eSetupBSF, cmd.eInstallScriptNameBSF, -12, -13) > 2014-11-04T20:26:49.618000: Error 92 running > C:\Users\IBM_ADMIN\Downloads\ooRexx\BSF4ooRexx\bsf4oorexx\install\setupBSF.rex line 1833: OLE error > 2014-11-04T20:26:49.620000: Error 92.906: OLE exception: Code: 80070002 Source: WshShell.RegRead > Description: Invalid root in registry key "HKLM\Software\JavaSoft\Java Runtime > Environment\CurrentVersion". |