diff --git a/component/java/buildout.cfg b/component/java/buildout.cfg
index 58693d531909fdadc38ee7ea976e58e4eaa3fe9f..a3ade5acb4999e4f0a3f06e8065280fcc01cd4fe 100644
--- a/component/java/buildout.cfg
+++ b/component/java/buildout.cfg
@@ -17,6 +17,5 @@ x86-64 =  http://javadl.sun.com/webapps/download/AutoDL?BundleId=48338 bae0cb5d1
 script =
   if not self.options.get('url'): self.options['url'], self.options['md5sum'] = self.options[guessPlatform()].split(' ')
   extract_dir = self.extract(self.download(self.options['url'], self.options.get('md5sum')))
-  print(extract_dir)
   workdir = guessworkdir(extract_dir)
-  self.copy(workdir, "%(location)s")
\ No newline at end of file
+  self.copyTree(workdir, "%(location)s")
\ No newline at end of file