I got the same problem.
I install glasfish on window xp and I don't see the AS_JAVA variable in the asenv.conf file, but I see it int he asadmin file.
Even after I add the AS_JAVA variable with my jdk path in the asenv.conf file I still got the problem.
Path jdk: C:\Program Files\Java\jdk1.6.0_19
Path asenv.conf: C:\Program Files\sges-v3\glassfish\config
Do I have a syntax error:
AS_JAVA="../../../Java/jdk1.6.0_19"
thank you.
[Message sent by forum member 'bluesun2']
http://forums.java.net/jive/thread.jspa?messageID=395707