FileNotFoundException安装Glassfish

时间:2013-01-10 16:06:58

标签: glassfish

我安装glassfish v2,但是当安装程序解压缩jar文件时,命令提示符上会显示以下错误消息:

C:\Program Files>java -Xmx256m -jar glassfish-installer-v2ur2-b04-windows.jar<br>
glassfish<br>
glassfish\bin <br>
glassfish\docs <br>
glassfish\docs\css <br>
glassfish\docs\figures <br>
glassfish\docs\graphics <br>
glassfish\imq <br>
glassfish\imq\bin <br>
glassfish\imq\demo <br>
glassfish\imq\demo\applications <br>
glassfish\imq\demo\applications\mqapplet <br>
.<br>
.<br>
.<br>
.<br>
Exception in thread "main" java.io.FileNotFoundException: glassfish\bin\cliutil. <br>
dll (Access is denied) <br>
        at java.io.FileOutputStream.open(Native Method) <br>
        at java.io.FileOutputStream.<init>(Unknown Source) <br>
        at java.io.FileOutputStream.<init>(Unknown Source) <br>
        at org.jvnet.poormans_installer.Main.install(Main.java:120) <br>
        at org.jvnet.poormans_installer.Main.main(Main.java:69) <br>

1 个答案:

答案 0 :(得分:2)

检查您的用户帐户是否具有管理员权限