• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

compilation is very slow when using java 1.6 with maven

 
                      
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
compilation is very slow when using java 1.6 with maven. Its fast when using java 1.5. I saw similar issue raised in other forums.. But still not get any solid solution. Any help is greatly appreciated.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Green Beret",
It seems that you forgot about this warning. Please make sure to change your name properly. Thank you.
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Green Beret wrote:compilation is very slow when using java 1.6 with maven. Its fast when using java 1.5. I saw similar issue raised in other forums.. But still not get any solid solution. Any help is greatly appreciated.


Is this a Windows OS? There's a known issue around this. It's actually a combination of Maven and Sun JDK issue. Maven generates a very long classpath which causes the compilation to go slow because of this Sun JDK bug.
 
                      
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes it is in Windows OS (Windows XP). Is there any work around?
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, you ignored too many warnings; your account is now closed. Contact a moderator if you wish it to be reopened.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic