Two Laptop Bag*
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 Android Security Essentials Live Lessons this week in the Android 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: 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: 9962
    
163

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: 41182
    
  45
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
 
Don't get me started about those stupid light bulbs.
 
subject: compilation is very slow when using java 1.6 with maven
 
Similar Threads
How to add a jar file in classpath?
java 1.6
Java 1.6 very slow compared to 1.5- Reason
Maven + scala + java
A strange compile error with Maven2