I ran into the same issue on Windows 7 and have an administrator level
account. To overcome the issue, I had to run my cmd.exe as Administrator -
Run cmd.exe as administrator:
- Click Start and type cmd in the search box
- look for cmd.exe to show up as a program
- right click on it and choose "Run as administrator"
- in the subsequent cmd window, CD to your .jar file and run the command
java -Xmx256m -jar glassfish-installer-v2.1.1-b31g-windows.jar
It should work this time.
--
View this message in context: http://old.nabble.com/Problem-in-installing-Glassfish-V2-tp17164738p33169816.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.