Abstract:The study of parallelism for Java program is one of the most important subjects at present. In this paper, a kind of automatic parallel conversion technique is given. The serial Java program is transformed to parallel program utilizing the multithreading machanism and testing technique of commutativity operations. The parallel program after transforming can run in the supercomputer with multi-CPU under the multi-processor operating system, which will enhance the programs' efficiency.