There is universal rooting application that can root almost any phone and version of android devices, the name is SuperOneClick.
You can download the application from here.
For Windows system, you have to install Microsoft .NET Framework 2.0+. Make sure to install USB driver for the phone and activate USB Debugging in phone Setting.
You can read the detail here.
For Linux system, the detail is here.