Your name should be entered as it appears on the electoral roll. If it is James, and people call you Jimmy, then please enter James as your First Name. You can put Jimmy below as your preferred name.
If you aren't sure you can check your Electoral Commission enrolement here