Console mode install (-i console) attempts to open X-windows irrespective of the console mode switch.
If X11 libarries are not installed, it even throws following error :
Additional Notes: FATAL ERROR - The Installer has failed due to an Unhandled Exception
java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
This is actually a bug with the third party software - Install Anywhere software that we use for building our installer,. It tries to initialize the X11 graphic component even during the console mode installation.
Unset the DISPLAY by running following command before executing installer.
This has been fixed in 12.52 SP2 onwards as we have upgraded the Install Anywhere to 2014 which has fix for this bug.