[ Zend Studio, Zend Guard ]
[ Linux ]
You might get this output when running the installation:
Guard installer in our reproduction showed:
java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
at java.util.Properties.loadConvert(Unknown Source)
at java.util.Properties.load(Unknown Source)
Affecting Install Anywhere - Used in products Zend Studio 5,6,7 (not in 8), Zend Guard 4,5.
To reproduce this we used an ENV var from one of our users:
$ export MYSQL_PS1="dalek mysql #\c \u@\h/\d>"
PS1 environment variable is responsible for the appearance of the command prompt in the console ('u' represents the user that is logged-on).
Apparently when you have PS1 environment variable including a 'u', the installer confuses it with a Unicode character and then fails with the installation.
Resolution / Workaround
A quick work-around would be to change PS1 to its default value or to omit the 'u' key.
You might need to clear the ENV var to execute the installer. After the product is installed, restore the ENV var to its original value.
Excerpt: Install Anywhere issue with PS1 ENV Vars
Original Post Date: 2011-06-14 13:17:02
Install Anywhere issue with PS1 ENV Vars