This site is currently read-only as we are migrating to Oracle Forums for an improved community experience. You will not be able to initiate activity until January 30th, when you will be able to use this site as normal.

    Forum Stats

  • 3,889,691 Users
  • 2,269,776 Discussions
  • 7,916,823 Comments

Discussions

SQLcl 4.2 - WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs on Windows 10

Gunther Pippèrr
Gunther Pippèrr GermanyMember Posts: 38 Bronze Badge
edited May 17, 2016 12:32PM in SQLcl

Hello team,

I download the new version SQLcl: Release 4.2.0.16.131.1023 and try to start this version on my Windows 10 workstation.

 

And I get the following Error:

.\sql.bat /nolog

Mai 17, 2016 6:09:28 PM java.util.prefs.WindowsPreferences <init>

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

SQLcl at self is working, only an annoying message.

Hmm .. Is there something missing?

Should I start this as "administrator"?

Best Regards

  Gunther

Answers

  • Gunther Pippèrr
    Gunther Pippèrr GermanyMember Posts: 38 Bronze Badge
    edited May 17, 2016 12:32PM

    Hello team,

    I found a Solution with:

    1. Open Regedit
    2. Go to  "HKEY_LOCAL_MACHINE\Software\JavaSoft"
    3. Right click on the "JavaSoft" folder and create  a key with the name "Prefs"

    Now the message at start up time disappear.

    But nothing is written under the Key?

    What is the idea behind this feature?

    May be it will be a good idea to capture the exception and show the user a description what he have to do?

    Best Regards

    Gunther