aspose file tools*
The moose likes Java in General and the fly likes compilation is very slow when using java 1.6 with maven Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "compilation is very slow when using java 1.6 with maven" Watch "compilation is very slow when using java 1.6 with maven" New topic
Author

compilation is very slow when using java 1.6 with maven

                      
Greenhorn

Joined: Apr 10, 2008
Posts: 7
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

Joined: Nov 24, 2005
Posts: 14688
    
  16

"Green Beret",
It seems that you forgot about this warning. Please make sure to change your name properly. Thank you.


[My Blog]
All roads lead to JavaRanch
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10207
    
166

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.

[My Blog] [JavaRanch Journal]
                      
Greenhorn

Joined: Apr 10, 2008
Posts: 7
Yes it is in Windows OS (Windows XP). Is there any work around?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42285
    
  64
Sorry, you ignored too many warnings; your account is now closed. Contact a moderator if you wish it to be reopened.


Ping & DNS - my free Android networking tools app
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: compilation is very slow when using java 1.6 with maven