Opened 6 years ago
Last modified 6 years ago
#18311 closed defect
"Could not open/create prefs root node Software\JavaSoft\Prefs" - Windows 10 as regular user — at Version 2
| Reported by: | Owned by: | team | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | template_report windows registry javabug | Cc: |
Description (last modified by )
What steps will reproduce the problem?
- Downloaded josm-tested.jar within the past hour
- Started normal command window, changed directory to folder with the jar
- Invoked it with java -jar josm-tested.jar
What is the expected result?
Not to see error messages reported
What happens instead?
See error messages reported - see below
Please provide any additional information below. Attach a screenshot if possible.
Ran it on windows 10 machine (with java 8 u221 both x32 & x64)
Copy & paste of the error message:
2019-11-10 18:38:20.029 WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2019-11-01 23:59:01 +0100 (Fri, 01 Nov 2019) Build-Date:2019-11-01 22:59:57 Revision:15492 Relative:URL: ^/trunk Identification: JOSM/1.5 (15492 en) Windows 10 64-Bit OS Build number: Windows 10 Home 1809 (17763) Memory Usage: 302 MB / 2229 MB (168 MB allocated, but free) Java version: 1.8.0_221-b11, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Screen: \Display0 1600x900, \Display1 1920x1080 Maximum Screen Size: 1920x1080 Last errors/warnings: - W: No configuration settings found. Using hardcoded default values for all pools. - W: Region [TMS_BLOCK_v2] Resetting cache
Change History (2)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
| Description: | modified (diff) |
|---|---|
| Keywords: | windows registry added |
| Summary: | Access denied error shown in terminal when running josm-tested.jar on Windows 10 as regular user → "Could not open/create prefs root node Software\JavaSoft\Prefs" - Windows 10 as regular user |
Note:
See TracTickets
for help on using tickets.



This error makes me wonder if the program is trying to write to HKEY_LOCAL_MACHINE, which is naturally going to fail when run as a regular (non-administrative) user?