RouteConverter Forum

Full Version: RegCreateKeyEx Error code 5
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I am a very convinced user of Routeconverter up to now. Really great for making on- and offroad tracks. 
I am now trying to run Routeconverter on my work pc, but here I can't seem to get it running. No maps visible, no downloads working, and thus no functionality. 

When I run from command line I get the following error:
Started RouteConverter 2.28-SNAPSHOT-112 from 6 mei 2020 on Oracle Corporation Java 1.8.0_201 (64-bit) and Windows 10 10.0 amd64 with 1837 MByte heap
Usage: java -jar RouteConverterCmdLine.jar <source file> <target format> <target file>
Error: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.

Anybody an idea on how to solve this?
Running on Windows 10 Enterprise 64bit

Thanks!
Try this one:
https://stackoverflow.com/questions/1642...-root-node

Code:
1. Go into your Start Menu and type regedit into the search field.
2. Navigate to path HKEY_LOCAL_MACHINE\Software\JavaSoft (Windows 10 seems to now have this here:
   HKEY_LOCAL_MACHINE\Software\WOW6432Node\JavaSoft)
3. Right click on the JavaSoft folder and click on New -> Key
4. Name the new Key Prefs and everything should work."
Thanks for the reply and the help. 
I tried to apply your suggestion, but apparently I don't have the necessary user rights to create a new key in the registry. There is a folder with the name "Prefs" under HLM\SOFTWARE\WOW6432Node\JavaSoft\, but only a default key without value in this folder.

So I guess since I don't have the rights to add a registry key, I won't be able to run Routeconverter on this particular laptop...

But thanks anyway!
(07.06.2020, 11:48)Cisse Wrote: [ -> ]Started RouteConverter 2.28-SNAPSHOT-112 from 6 mei 2020 on Oracle Corporation Java 1.8.0_201 (64-bit) and Windows 10 10.0 amd64 with 1837 MByte heap
Usage: java -jar RouteConverterCmdLine.jar <source file> <target format> <target file>
Error: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.

I've read the Stackoverflow thread that @Ilmari posted and found this answer https://stackoverflow.com/questions/1642...1#41151051 a bit downward:

Quote:There's a fix committed to the JDK source in June 2016 and it is part of Java9 onwards. There's also a backport for Java8 which is in u202.

Please try to update to the latest Java 8 release. Does that help?
Hi,

Thanks for taking the time to look into this. Sadly java updates are managed on a corporate level (this is my work laptop). It is somewhat ironic that the possibility to use a backport exists since U202, my laptop is on update 201...

So I guess running RouteConverter will not be possible in the near future on this machine itself. I will try to make a workaround to run it on a VM on my home NAS and access it via the browser. With the added bonus of having the possibility to make quick on-the-road route adaptations on an android phone as well ;-)
(25.06.2020, 06:37)Cisse Wrote: [ -> ]So I guess running RouteConverter will not be possible in the near future on this machine itself.

You may want to have a look at PortableApps.com, you would need jPortable and jPortable Launcher. Put RouteConverter in a directory of you choice, run jPortable Launcher and navigate to the directory of RouteConverter to run it. You can test this on any thumb drive at home before moving it to your work laptop.
just installed the jportable and jportable launcher, tried to run the latest routeconverter prerelease for windows. But I'm afraid the result remains the same:
  • all downloads failed
  • no map visible
(25.06.2020, 21:12)Cisse Wrote: [ -> ]just installed the jportable and jportable launcher, tried to run the latest routeconverter prerelease for windows. But I'm afraid the result remains the same:
  • all downloads failed
  • no map visible

Just tried that myself, works properly. To be clear, you have to run RouteConverter via the jPortable Launcher, do not run it directly.
Hi,
yes, it was quite clear that it needed to be started from within jportable launcher. but no succes, I'm afraid.

Is there a way that I can launch the cmd line version from jportable launcher to check for error messages?

thx