On Solaris 11 (Sparc 64), even after setting -Djava.awt.headless=true (and I have set the same in the environment variable also),
I am still getting the error: Could not initialize class sun.font.FontScaler while trying to use Fonts.
On Solaris 10 Sparc 64 , we don't see this issue happening with the same JRE.
The exception is: java.lang.NoClassDefFoundError: Could not initialize class sun.font.FontScaler
rt.jar contains this class.
Looks like a bug. Has anybody faced this issue on Solaris 11 Sparc 64 or if it is working for you on this environment?
Thanks,
KrishnaP