The distinct feature of data acquisition for magnetic resonance imaging (MRI) was that the data were sampled on frequency domain instead of spatial domain. Therefore, the acquired data must be inverse Fourier transformed to generate images. To apply fast Fourier transform (FFT) algorithm, the data were usually acquired on rectilinear grid. However, acquiring data on rectilinear grid was not very efficient in MRI. A spiral trajectory that started at the origin of the frequency domain and span out to higher spatial frequency was more efficient and faster than the conventional method. Since the spiral trajectory did not sample on rectilinear grid, raw data must be re-interpolated onto rectilinear grid prior to inverse FFT. This re-gridding process was done using an off- line reconstruction program. When the platforms to run the program grew, the efforts required on maintaining the program became prohibitive. This problem could be solved through the platform-independent Java programming language. In this paper, we reported on our attempt to implement the spiral MR image reconstruction program in Java. We showed that the performance was not significantly impacted and it was practical to use a platform-independent reconstruction program.