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
解决方案
Start regedit, go to HKLM/Software/JavaSoft/Java Runtime Environment/ and find value
CurrentVersion. Then there should be some subkeys, one of them will be the one found in "CurrentVersion". Check the paths in there.
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/...).