This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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

Green Beret
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: 14687
    
  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: 9912
    
158

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]
Green Beret
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: 41034
    
  43
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: compilation is very slow when using java 1.6 with maven
 
Similar Threads
java 1.6
Java 1.6 very slow compared to 1.5- Reason
Maven + scala + java
A strange compile error with Maven2
How to add a jar file in classpath?