This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 Elasticsearch in Action this week in the Big Data 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: 10387
    
174

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
Rancher

Joined: Mar 22, 2005
Posts: 42954
    
  73
Sorry, you ignored too many warnings; your account is now closed. Contact a moderator if you wish it to be reopened.
 
rocket mass heater kickstarter
 
subject: compilation is very slow when using java 1.6 with maven