Vector files = new Vector(); ZipThread[] threads = new ZipThread[THREAD_COUNT]; for (int i = 0; i < threads.length; i++) { threads[i] = new ZipThread(files); threads[i].start(); }