自从安装了jbuildx/weblogic后发觉每次执行java程序就会出现下面的提示错误信息:
Registry key 'Software/JavaSoft/Java Runtime Environment/CurrentVersion'
has value '1.4', but '1.5' is required.
Error: could not find java.dll
Error: could not find Java 2 Runtime Environment.
终于找到解决的方式了
在开始菜单->运行->regedit-> 找到 "HKEY_LOCAL_MACHINE/Software/JavaSoft/Java Runtime Environment/CurrentVersion'" 在右侧把currentversion的键值改为1.5即可!!
理由是jbuildx本身自带版本比较低的java,不知道直接删除原先安装的那两个程序能行不啊?可否告知一下!