Search code examples
windows-phone-8ibm-mobilefirst

Error While building Windows Phone 8 environment on a IBM Worklight 7.0 project


While building Windows Phone 8 environment on a IBM Worklight 7.0 project it shows some errors in the console.

Console Output

  • Starting build process: application 'myapp', environment 'windowsphone8'
  • Application 'myapp' with environment 'windowsphone8' build finished.

  • Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.

Is this a major issue ? Any solutions to fix this one ? After this error i opened the project on Visual Studio.


Solution

  • I found an answer from this link. [Groovy Shell warning "Could not open/create prefs root node ..." As per the steps described, i did and it and is working fine.

    • Go into your Start Menu and type regedit into the search field.
    • Navigate to the following path
    • HKEY_LOCAL_MACHINE\Software\JavaSoft
    • Right click on the JavaSoft folder and click on New -> Key
    • Name the new Key Prefs and everything should work.