FWIW, this doesn't necessarily explain the original German locale installer failure since installer never adds quotes to the JDK home value placed into asenv.bat file - that one probably had different root cause after all...
Snjezana
----- Original Message -----
From: tom.mueller_at_oracle.com
To: users_at_glassfish.java.net
Cc: forums_at_java.net, users_at_glassfish.dev.java.net
Sent: Friday, July 22, 2011 10:34:46 AM GMT -08:00 US/Canada Pacific
Subject: Re: Windows Installer fails on Win7 Pro SP1 (64 Bit, de_DE)
Thanks. I'm able to recreate the problem now. The key is:
1. "java" does show up in the PATH
2. JAVA_HOME is set with the double quotes and with a directory name
with a space, i.e., "Program Files". If you use Progra~1 you get a
different error.
With this setup, I see a create-domain failure with the IllegalArgument
exception that you are seeing.
The root cause of the problem is that asadmin tries to run Runtime.exec
on the String:
"C:\Program Files\Java\jdk1.6.0_25"/bin/keytool
and this produces the IllegalArgumentException which isn't caught by the
code.
Tom