Installing Java EE 6 SDK

走远了吗. 提交于 2019-12-08 05:31:46

问题


This is the installation file: Java Platform, Enterprise Edition 6 SDK Update 3 (with JDK 6u27)

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


回答1:


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/...).



来源:https://stackoverflow.com/questions/7941028/installing-java-ee-6-sdk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!