Problem
While installing SAP Solution Manager 7.1 SR 1 on Windows with SQL today I ran into the following error trying to run the Installer.
An error occurred while processing option SAP Solution Manager 7.1 SR1 > SAP Systems > MS SQL Server > Central System > Central System( Last error reported by the step: Path component contains reserved character (':'): K:NaN.exe). You can now:
- Choose Retry to repeat the current step.
- Choose Log Files to get more information about the error.
- Stop the option and continue with it later.
Solution
From the log sapinst_dev.log it looks like it fails to find the JAVA_HOME Path.
TRACE 2012-05-31 11:53:48.877That wasn't my first guess of course because if you read the Selection 1.1 New Features of
NWDiagAgent.getJavaHome()
TRACE 2012-05-31 11:53:48.888 NWOption(sapjvmHome).value()sTRACE 2012-05-31 11:53:48.888 NWOption.getDefaultValue(sapjvmHome)
TRACE[W] 2012-05-31 11:53:48.891 [ianxcreghelper.cpp:283] CNTRegistryKey::CNTRegistryKey(., HKEY_LOCAL_MACHINE, Software\JavaSoft\Java Development Kit, ...) Error 2 (The system cannot find the file specified.
) in execution of a 'RegOpenKeyEx' function, line (78), with parameter (Software\JavaSoft\Java Development Kit).
TRACE[W] 2012-05-31 11:53:48.892 [ianxcreghelper.cpp:465]
CNTRegistryKey::CNTRegistryKey(., HKEY_LOCAL_MACHINE, Software\JavaSoft\Java Development Kit, ...)
The subkey 'HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Development Kit' does not exist on the 'localhost' host.
ERROR 2012-05-31 11:53:48.912 [syxxcpath.cpp:63]
CSyPathComponent::CSyPathComponent(const iastring& stringValue, bool mightBePrefix)
lib=syslib module=syslib
FSL-02107 Path component contains reserved character (':'): K:NaN.exe