Forums Register Login

compilation is very slow when using java 1.6 with maven

+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
"Green Beret",
It seems that you forgot about this warning. Please make sure to change your name properly. Thank you.
+Pie Number of slices to send: Send
 

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.
+Pie Number of slices to send: Send
Yes it is in Windows OS (Windows XP). Is there any work around?
+Pie Number of slices to send: Send
Sorry, you ignored too many warnings; your account is now closed. Contact a moderator if you wish it to be reopened.
You're not going crazy. You're going sane in a crazy word. Find comfort in this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2035 times.
Similar Threads
How to add a jar file in classpath?
Java 1.6 very slow compared to 1.5- Reason
Maven + scala + java
java 1.6
A strange compile error with Maven2
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 05:35:55.