changes for 32bit version of java