java Windows RegCreateKeyEx(...) returned error code 5.
来源:互联网 发布:手机淘宝 二维 淘宝店 编辑:程序博客网 时间:2024/04/30 02:28
Question:
java.util.prefs.WindowsPreferences
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs
at root 0x80000002. Windows RegCreateKeyEx(…) returned error code 5.
Solution:
Dennis answer is correct. However I would like to explain the solution in a bit more detailled way (for Windows User):
- Go into your Start Menu and type regedit into the search field.
- Navigate to path HKEY_LOCAL_MACHINE\Software\JavaSoft (Windows 10 seems to now have this here: HKEY_LOCAL_MACHINE\Software\WOW6432Node\JavaSoft)
- Right click on the JavaSoft folder and click on New -> Key
- Name the new Key Prefs and everything should work.
Alternatively, save and execute a *.reg file with the following content:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\JavaSoft\Prefs]
You can find the solution from :
https://stackoverflow.com/questions/16428098/groovy-shell-warning-could-not-open-create-prefs-root-node
阅读全文
0 0
- java Windows RegCreateKeyEx(...) returned error code 5.
- 【error】Java was started but returned exit code=14
- Installation failed for component Windows Mobile 5.0 SDK R2 for Pocket PC. MSI returned error code
- Server returned error code = 401
- java.sql.SQLException: Query returned non-zero code: 12, cause: FAILED: Hive Internal Error: java.la
- Proguard returned with error code 1. See console : java.lang.OutOfMemoryError
- error PRJ0019: A tool returned an error code from
- windows error code list
- Windows Installer error code
- Windows Error Code
- Windows Error Code
- Python Windows error code
- Python Windows error code
- Windows Error Code
- Sub-process /usr/bin/dpkg returned an error code
- Proguard returned with error code 1. See console解决办法”
- android 混淆错误 Proguard returned with error code 1
- Proguard returned with error code 1. See console
- 开发小程序的一些坑
- Qt树形控件QTreeView使用1——节点的添加删除操作
- str==null、str.length==0以及''''.equals(str)之间的区别
- 20171017
- Ubuntu server上安装NVIDIA CUDA显卡,利用GPU运行Tensorflow,及缺少libcusparse.so.8.0问题
- java Windows RegCreateKeyEx(...) returned error code 5.
- 一键换肤--动态更换主题颜色风格
- 笔记:添加 修改 删除 约束 数据库
- 为什么会报精度丢失问题?
- Python渗透测试工具合集及书籍推荐(转)
- CentOS7下Chrome以及chromedriver的安装配置
- HDU 5969 最大的位或
- xenserver使用快照创建虚拟机,提示eth0 has different mac错误
- Linux系统调用列表