问题描述
这是安装文件:
Glassfish安装域发生错误是:
C:\glassfish3\glassfish\bin\asadmin.bat --user admin --passwordfile - create-domain --savelogin --checkports = false --adminport 4848 --instanceport 8080 - -domainproperties = jms.port = 7676:domain.jmxPort = 8686:orb.listener.port = 3700:http.ssl.port = 8181:orb.ssl.port = 3820:orb.mutualauth.port = 3920 domain1错误:可能不打开`C:\glassfish3\jdk\jre\lib\i386\jvm.cfg'
The error occured during glassfish installation domain is:C:\glassfish3\glassfish\bin\asadmin.bat --user admin --passwordfile - create-domain --savelogin --checkports=false --adminport 4848 --instanceport 8080 --domainproperties=jms.port=7676:domain.jmxPort=8686:orb.listener.port=3700:http.ssl.port=8181:orb.ssl.port=3820:orb.mutualauth.port=3920 domain1 Error: could not open `C:\glassfish3\jdk\jre\lib\i386\jvm.cfg'
任何人都可以帮我吗?感谢
Can anyone help me? Thanks
推荐答案
启动regedit,进入HKLM / Software / JavaSoft / Java Runtime Environment /并找到值
CurrentVersion。然后应该有一些子键,其中一个将是在CurrentVersion中找到的。检查那里的路径。
Start regedit, go to HKLM/Software/JavaSoft/Java Runtime Environment/ and find valueCurrentVersion. Then there should be some subkeys, one of them will be the one found in "CurrentVersion". Check the paths in there.
现在,如果任何一个小节与现实匹配,您可以将CurrentVersion更改为该小节的名称。否则,您可以尝试将CurrentVersion部分中的路径修改为您希望在那里看到的路径(也许是C:/j2sdk1.4.2_03/jre/...).
Now if any of the subsection match the reality, you can change the "CurrentVersion" to the name of that section. Otherwise you can try modifying the paths in the "CurrentVersion" section to the paths you would like to see there (maybe C:/j2sdk1.4.2_03/jre/...).
这篇关于安装Java EE 6 SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!