Patch by Anders to recognize if the OS is ARM and don't use -server JVM option