2

我正在尝试在 Windows 7 上安装 java ee 6 Web 配置文件。安装程序在配置步骤期间提供错误消息。错误是:

配置失败。请参阅下面的输出。

问题是安装程序无法通过 asadmin 创建管理员帐户。因为我也尝试在完成安装后手动制作一个,但 cmd 显示以下(在配置失败期间显示相同)错误:

该系统找不到指定的路径。

我使用的命令/路径是:

glassfish-install-dir\bin\asadmin 创建域域名

它在下面的配置步骤中显示的输出是:

创建域


Executing command :D:\Java 6 EE\glassfish\bin\asadmin.bat --user admin --passwordfile C:\Users\babar\AppData\Local\Temp\java_ee_sdk-6u2-windows.exe2\asadminTmp5537629014448195896.tmp 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
D:\Java 6 EE\glassfish\bin\asadmin.bat --user admin --passwordfile C:\Users\babar\AppData\Local\Temp\java_ee_sdk-6u2-windows.exe2\asadminTmp1045708641610025270.tmp 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 domain1The system cannot find the path specified.
4

1 回答 1

1

I had the same problem because I was trying to install the Java EE 6 SDK without JDK 7 on a machine that did not already have the JDK. Problem solved by installing Java EE 6 SDK with JDK 7 from here.

于 2012-07-04T21:38:20.147 回答